diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2007-01-25 21:42:39 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-02-05 13:38:05 -0500 |
commit | 67f55897ee5ffa16ca00ed39d176dc52b5066679 (patch) | |
tree | 5660a77dce80c07d90f677febc8bbb7e9b12fe29 /fs | |
parent | ee32e4f3d347e4b562de0bd70be99e622d7d1a9f (diff) |
[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')
-rw-r--r-- | fs/dlm/Kconfig | 1 | ||||
-rw-r--r-- | fs/gfs2/Kconfig | 1 |
2 files changed, 2 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 | |||
5 | tristate "Distributed Lock Manager (DLM)" | 5 | tristate "Distributed Lock Manager (DLM)" |
6 | depends on IPV6 || IPV6=n | 6 | depends on IPV6 || IPV6=n |
7 | select CONFIGFS_FS | 7 | select CONFIGFS_FS |
8 | select SYSFS | ||
8 | select IP_SCTP if DLM_SCTP | 9 | select IP_SCTP if DLM_SCTP |
9 | help | 10 | help |
10 | A general purpose distributed lock manager for kernel or userspace | 11 | A general purpose distributed lock manager for kernel or userspace |
diff --git a/fs/gfs2/Kconfig b/fs/gfs2/Kconfig index 6a2ffa2db14f..2c184a97cb12 100644 --- a/fs/gfs2/Kconfig +++ b/fs/gfs2/Kconfig | |||
@@ -38,6 +38,7 @@ config GFS2_FS_LOCKING_DLM | |||
38 | select IP_SCTP if DLM_SCTP | 38 | select IP_SCTP if DLM_SCTP |
39 | select CONFIGFS_FS | 39 | select CONFIGFS_FS |
40 | select DLM | 40 | select DLM |
41 | select SYSFS | ||
41 | help | 42 | help |
42 | Multiple node locking module for GFS2 | 43 | Multiple node locking module for GFS2 |
43 | 44 | ||