ocfs2: Make OCFS2_FS depend on CONFIGFS_FS
authorNicholas Bellinger <nab@linux-iscsi.org>
Sun, 16 Jan 2011 21:16:07 +0000 (21:16 +0000)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 16 Jan 2011 21:22:40 +0000 (21:22 +0000)
This patch fixes the following kconfig error after changing
CONFIGFS_FS -> select SYSFS:

fs/sysfs/Kconfig:1:error: recursive dependency detected!
fs/sysfs/Kconfig:1: symbol SYSFS is selected by CONFIGFS_FS
fs/configfs/Kconfig:1: symbol CONFIGFS_FS is selected by OCFS2_FS
fs/ocfs2/Kconfig:1: symbol OCFS2_FS depends on SYSFS

Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: James Bottomley <James.Bottomley@suse.de>
fs/ocfs2/Kconfig

index ab152c00cd3af885aad24333da0427b736294312..77a8de5f7119f14e91cb506519b95561b3230ed3 100644 (file)
@@ -1,7 +1,6 @@
 config OCFS2_FS
        tristate "OCFS2 file system support"
-       depends on NET && SYSFS
-       select CONFIGFS_FS
+       depends on NET && SYSFS && CONFIGFS_FS
        select JBD2
        select CRC32
        select QUOTA