[GFS2/DLM] use sysfs
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 26 Jan 2007 02:42:39 +0000 (18:42 -0800)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 5 Feb 2007 18:38:05 +0000 (13:38 -0500)
commit67f55897ee5ffa16ca00ed39d176dc52b5066679
tree5660a77dce80c07d90f677febc8bbb7e9b12fe29
parentee32e4f3d347e4b562de0bd70be99e622d7d1a9f
[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>
fs/dlm/Kconfig
fs/gfs2/Kconfig