net: Make NETCONSOLE_DYNAMIC depend on CONFIGFS_FS
authorNicholas Bellinger <nab@linux-iscsi.org>
Sun, 16 Jan 2011 21:13:59 +0000 (21:13 +0000)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 16 Jan 2011 21:22:34 +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 NETCONSOLE_DYNAMIC
drivers/net/Kconfig:3390: symbol NETCONSOLE_DYNAMIC 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>
drivers/net/Kconfig

index 4c8bfc97fb4c8297fc4bddf3d67c82d2c73c0b65..16fe4f9b719b5af1839ea6cbebb7d03e3c6f8c01 100644 (file)
@@ -3389,8 +3389,7 @@ config NETCONSOLE
 
 config NETCONSOLE_DYNAMIC
        bool "Dynamic reconfiguration of logging targets"
-       depends on NETCONSOLE && SYSFS
-       select CONFIGFS_FS
+       depends on NETCONSOLE && SYSFS && CONFIGFS_FS
        help
          This option enables the ability to dynamically reconfigure target
          parameters (interface, IP addresses, port numbers, MAC addresses)