[Cluster-devel] GFS2 Kconfig

Steven Whitehouse swhiteho at redhat.com
Tue Dec 12 10:16:14 UTC 2006


Hi,

Here is a patch to fix up the Kconfig so that we don't land up with
problems when people disable the NET subsystem. I'll commit this to the
git tree if there are no objections. Thanks for all the hints and
suggestions that people have sent me,

Steve.

Signed-off-by: Steven Whitehouse <swhiteho at redhat.com>
Cc: Aleksandr Koltsoff <czr at iki.fi>
Cc: Toralf Förster <toralf.foerster at gmx.de>
Cc: Randy Dunlap <randy.dunlap at oracle.com>
Cc: Adrian Bunk <bunk at stusta.de>
Cc: Chris Zubrzycki <chris at middle--earth.org>
Cc: Patrick Caulfield <pcaulfie at redhat.com>

diff --git a/fs/gfs2/Kconfig b/fs/gfs2/Kconfig
index c0791cb..6a2ffa2 100644
--- a/fs/gfs2/Kconfig
+++ b/fs/gfs2/Kconfig
@@ -34,7 +34,9 @@ config GFS2_FS_LOCKING_NOLOCK
 
 config GFS2_FS_LOCKING_DLM
 	tristate "GFS2 DLM locking module"
-	depends on GFS2_FS
+	depends on GFS2_FS && NET && INET && (IPV6 || IPV6=n)
+	select IP_SCTP if DLM_SCTP
+	select CONFIGFS_FS
 	select DLM
 	help
 	Multiple node locking module for GFS2





More information about the Cluster-devel mailing list