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

From: Adrian Bunk
Date: Sat Oct 07 2006 - 22:31:50 EST


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@xxxxxxxxx>

--- 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/