summaryrefslogtreecommitdiffstats
path: root/fs/dlm/Kconfig
diff options
context:
space:
mode:
authorRandy Dunlap2007-01-26 03:42:39 +0100
committerSteven Whitehouse2007-02-05 19:38:05 +0100
commit67f55897ee5ffa16ca00ed39d176dc52b5066679 (patch)
tree5660a77dce80c07d90f677febc8bbb7e9b12fe29 /fs/dlm/Kconfig
parent[GFS2] make lock_dlm drop_count tunable in sysfs (diff)
downloadkernel-qcow2-linux-67f55897ee5ffa16ca00ed39d176dc52b5066679.tar.gz
kernel-qcow2-linux-67f55897ee5ffa16ca00ed39d176dc52b5066679.tar.xz
kernel-qcow2-linux-67f55897ee5ffa16ca00ed39d176dc52b5066679.zip
[GFS2/DLM] use sysfs
With CONFIG_DLM=m, CONFIG_PROC_FS=n, and CONFIG_SYSFS=n, kernel build fails with: WARNING: "kernel_subsys" [fs/gfs2/locking/dlm/lock_dlm.ko] undefined! WARNING: "kernel_subsys" [fs/dlm/dlm.ko] undefined! WARNING: "kernel_subsys" [fs/configfs/configfs.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 Since fs/dlm/lockspace.c and fs/gfs2/locking/dlm/sysfs.c use kernel_subsys, they should either DEPEND on it or SELECT it. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/dlm/Kconfig')
-rw-r--r--fs/dlm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dlm/Kconfig b/fs/dlm/Kconfig
index b5654a284fef..d1359b91410a 100644
--- a/fs/dlm/Kconfig
+++ b/fs/dlm/Kconfig
@@ -5,6 +5,7 @@ config DLM
tristate "Distributed Lock Manager (DLM)"
depends on IPV6 || IPV6=n
select CONFIGFS_FS
+ select SYSFS
select IP_SCTP if DLM_SCTP
help
A general purpose distributed lock manager for kernel or userspace