[DLM] Kconfig: don't show an empty DLM menu
authorAdrian Bunk <bunk@stusta.de>
Sun, 8 Oct 2006 02:30:48 +0000 (04:30 +0200)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 12 Oct 2006 21:10:35 +0000 (17:10 -0400)
Don't show an empty "Distributed Lock Manager" menu if IP_SCTP=n.

Reported by Dmytro Bagrii in kernel Bugzilla #7268.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Patrick Caulfield <pcaulfie@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/dlm/Kconfig

index 490f85b..81b2c64 100644 (file)
@@ -1,10 +1,9 @@
 menu "Distributed Lock Manager"
-       depends on INET && EXPERIMENTAL
+       depends on INET && IP_SCTP && EXPERIMENTAL
 
 config DLM
        tristate "Distributed Lock Manager (DLM)"
        depends on IPV6 || IPV6=n
-       depends on IP_SCTP
        select CONFIGFS_FS
        help
        A general purpose distributed lock manager for kernel or userspace