Skip to contentSkip to conversation

DLM needs SYSFS

PATCH New Randy Dunlap 1 participant 1 message Nov 18, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 DLM needs SYSFS

From: Randy Dunlap <[email protected]>

DLM uses/needs SYSFS (kernel_subsys).
This also prevents DLM from being able to select CONFIGFS, which also uses SYSFS and caused yet another build error.

Also fix Kconfig help text formatting to use kernel indentation convention.

(It seems odd that the menu for DLM depends on INET && IP_SCTP && EXPERIMENTAL, but DLM depends on a different list of symbols.)

---
 fs/dlm/Kconfig |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
fs/dlm/Kconfig +6 -6
@@ -3,18 +3,18 @@ menu "Distributed Lock Manager"
 
 config DLM
 	tristate "Distributed Lock Manager (DLM)"
-	depends on IPV6 || IPV6=n
+	depends on (IPV6 || IPV6=n) && SYSFS
 	select CONFIGFS_FS
 	help
-	A general purpose distributed lock manager for kernel or userspace
-	applications.
+	  A general purpose distributed lock manager for kernel or userspace
+	  applications.
 
 config DLM_DEBUG
 	bool "DLM debugging"
 	depends on DLM
 	help
-	Under the debugfs mount point, the name of each lockspace will
-	appear as a file in the "dlm" directory.  The output is the
-	list of resource and locks the local node knows about.
+	  Under the debugfs mount point, the name of each lockspace will
+	  appear as a file in the "dlm" directory.  The output is the
+	  list of resource and locks the local node knows about.
 
 endmenu

---