[Cluster-devel] [2.6 patch] Kconfig: don't show an empty DLM menu

Adrian Bunk bunk at stusta.de
Sun Oct 8 02:30:48 UTC 2006


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 at stusta.de>

--- linux-2.6/fs/dlm/Kconfig.old	2006-10-08 04:20:28.000000000 +0200
+++ linux-2.6/fs/dlm/Kconfig	2006-10-08 04:21:05.000000000 +0200
@@ -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




More information about the Cluster-devel mailing list