]> err.no Git - linux-2.6/commitdiff
[PATCH] CONFIGFS_FS must depend on SYSFS
authorAdrian Bunk <bunk@stusta.de>
Sun, 26 Mar 2006 12:25:52 +0000 (14:25 +0200)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 10 Apr 2006 18:17:21 +0000 (11:17 -0700)
This patch fixes the a compile error with CONFIG_SYSFS=n

Configfs is creating, as a matter of policy, the /sys/kernel/config
mountpoint.  This means it requires CONFIG_SYSFS.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/Kconfig

index e207be68d4cadb63eb4e90570110fb92f50449ba..97f31741312274fb3486ad7787a3bca9715487d1 100644 (file)
@@ -861,7 +861,7 @@ config RAMFS
 
 config CONFIGFS_FS
        tristate "Userspace-driven configuration filesystem (EXPERIMENTAL)"
-       depends on EXPERIMENTAL
+       depends on SYSFS && EXPERIMENTAL
        help
          configfs is a ram-based filesystem that provides the converse
          of sysfs's functionality. Where sysfs is a filesystem-based