]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[DLM] Fix DLM config
authorPatrick Caulfield <pcaulfie@redhat.com>
Wed, 15 Nov 2006 17:29:24 +0000 (12:29 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 30 Nov 2006 15:35:41 +0000 (10:35 -0500)
The attached patch fixes the DLM config so that it selects the chosen network
transport. It should fix the bug where DLM can be left selected when NET gets
unselected. This incorporates all the comments received about this patch.

Cc: Adrian Bunk <bunk@stusta.de>
Cc: Andrew Morton <akpm@osdl.org>
Signed-Off-By: Patrick Caulfield <pcaulfie@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/dlm/Kconfig

index c5985b883b2c4f830fd27d1b05aef21e21e8356c..b5654a284fef1283b1186d7e39dcc1e0b3426396 100644 (file)
@@ -1,10 +1,11 @@
 menu "Distributed Lock Manager"
-       depends on INET && IP_SCTP && EXPERIMENTAL
+       depends on EXPERIMENTAL && INET
 
 config DLM
        tristate "Distributed Lock Manager (DLM)"
        depends on IPV6 || IPV6=n
        select CONFIGFS_FS
+       select IP_SCTP if DLM_SCTP
        help
        A general purpose distributed lock manager for kernel or userspace
        applications.