Fix CONFIGFS_FS -> select SYSFS recursive dependencies
Subsystems (4)
PATCH 1/1 Fix CONFIGFS_FS -> select SYSFS recursive dependencies
From: Nicholas Bellinger <[email protected]>
Hi again Linus,
Along with the jlbec ACK'ed CONFIGFS_FS -> select SYSFS patch for .38-rc1 sent earlier today here:
configfs: change depends -> select SYSFS
http://marc.info/?l=linux-scsi&m=129512586329785&w=2
the following patches are required to correct three additional recursive dependencies for CONFIGFS_FS -> select SYSFS found during this afternoon's lio-core-2.6.git/linus-38-rc1 defconfig build. These appear to be straight forward enough changes to merge..
Joel & Randy, are these OK with you..?
Thanks,
Nicholas Bellinger (3):
net: Make NETCONSOLE_DYNAMIC depend on CONFIGFS_FS
dlm: Make DLM depend on CONFIGFS_FS
ocfs2: Make OCFS2_FS depend on CONFIGFS_FS
drivers/net/Kconfig | 3 +-- fs/dlm/Kconfig | 3 +-- fs/ocfs2/Kconfig | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-)
PATCH 1/1 dlm: Make DLM depend on CONFIGFS_FS
From: Nicholas Bellinger <[email protected]>
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_FSfs/configfs/Kconfig:1: symbol CONFIGFS_FS is selected by DLMfs/dlm/Kconfig:1: symbol DLM depends on SYSFS
--- fs/dlm/Kconfig | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
fs/dlm/Kconfig +1 -2
@@ -1,8 +1,7 @@ menuconfig DLM tristate "Distributed Lock Manager (DLM)" depends on EXPERIMENTAL && INET - depends on SYSFS && (IPV6 || IPV6=n) - select CONFIGFS_FS + depends on SYSFS && CONFIGFS_FS && (IPV6 || IPV6=n) select IP_SCTP help A general purpose distributed lock manager for kernel or userspace
Signature · 1 line
1.5.6.5
PATCH 1/1 ocfs2: Make OCFS2_FS depend on CONFIGFS_FS
In reply to Nicholas A. BellingerFrom: Nicholas Bellinger <[email protected]>
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_FSfs/configfs/Kconfig:1: symbol CONFIGFS_FS is selected by OCFS2_FSfs/ocfs2/Kconfig:1: symbol OCFS2_FS depends on SYSFS
--- fs/ocfs2/Kconfig | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
fs/ocfs2/Kconfig +1 -2
@@ -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
Signature · 1 line
1.5.6.5
PATCH 1/1 net: Make NETCONSOLE_DYNAMIC depend on CONFIGFS_FS
In reply to Nicholas A. BellingerFrom: Nicholas Bellinger <[email protected]>
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_FSfs/configfs/Kconfig:1: symbol CONFIGFS_FS is selected by NETCONSOLE_DYNAMICdrivers/net/Kconfig:3390: symbol NETCONSOLE_DYNAMIC depends on SYSFS
--- drivers/net/Kconfig | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/net/Kconfig +1 -2
@@ -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)
Signature · 1 line
1.5.6.5
Joel Becker
maintainerRe: [PATCH] ocfs2: Make OCFS2_FS depend on CONFIGFS_FS
In reply to Nicholas A. BellingerQuoted 9 lines · Nicholas A. Bellinger
From: Nicholas Bellinger <[email protected]>
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 byCONFIGFS_FSfs/configfs/Kconfig:1: symbolCONFIGFS_FSis selected byOCFS2_FSfs/ocfs2/Kconfig:1: symbolOCFS2_FSdepends on SYSFS
<snip>
fs/ocfs2/Kconfig line 3
Quoted 10 lines
fs/ocfs2/Kconfig +1
-2@@ -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
Isn't this exactly what Linus just said not to do? I don't want
to know that I need to select configfs. Shouldn't it instead just be:
select NET
select CONFIGFS_FS
Linus?
Joel
Re: [PATCH] ocfs2: Make OCFS2_FS depend on CONFIGFS_FS
Quoted 27 lines · Joel Becker
Quoted 9 lines · Nicholas A. Bellinger
From: Nicholas Bellinger <[email protected]>
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 byCONFIGFS_FSfs/configfs/Kconfig:1: symbolCONFIGFS_FSis selected byOCFS2_FSfs/ocfs2/Kconfig:1: symbolOCFS2_FSdepends on SYSFS<snip>
fs/ocfs2/Kconfig line 3
Quoted 10 lines
fs/ocfs2/Kconfig +1
-2@@ -1,7 +1,6 @@ config OCFS2_FS tristate "OCFS2 file system support" - depends on NET && SYSFS - select CONFIGFS_FS + depends on NET && SYSFS && CONFIGFS_FSIsn't this exactly what Linus just said not to do? I don't want
to know that I need to select configfs. Shouldn't it instead just be:
Quoted 3 lines
select NET
selectCONFIGFS_FS
Sorry, your are completely correct here. The following three patches have been commited to lio-core-2-6.git/linus-38-rc1 to change NETCONSOLE_DYNAMIC, DLM, and OCFS2_FS from:
'depends ... && SYSFS && CONFIGFS'
to:
'select CONFIGFS'
and queued into scsi-post-merge-2.6.git/for-linus to fix this in mainline. Linus, please review and pull:
git://git.kernel.org/pub/scm/linux/kernel/git/nab/scsi-post-merge-2.6.git for-linus
Thanks,
Nicholas Bellinger (3):
net: Make NETCONSOLE_DYNAMIC use select CONFIGFS_FS
dlm: Make DLM use select CONFIGFS_FS
ocfs2: Make OCFS2_FS use select CONFIGFS_FS
drivers/net/Kconfig | 3 ++- fs/dlm/Kconfig | 4 ++-- fs/ocfs2/Kconfig | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-)
--------------------------------------------------------------------
[PATCH 1/3] net: Make NETCONSOLE_DYNAMIC use select CONFIGFS_FS
Convert 'depends && SYSFS && CONFIGFS_FS' to 'select CONFIGFS_FS'
--- drivers/net/Kconfig | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/Kconfig +2 -1
@@ -3389,7 +3389,8 @@ config NETCONSOLE config NETCONSOLE_DYNAMIC bool "Dynamic reconfiguration of logging targets" - depends on NETCONSOLE && SYSFS && CONFIGFS_FS + depends on NETCONSOLE + select CONFIGFS_FS help This option enables the ability to dynamically reconfigure target parameters (interface, IP addresses, port numbers, MAC addresses)
Signature · 14 lines
1.7.3.5 ------------------------------------------------------------------- [PATCH 2/3] dlm: Make DLM use select CONFIGFS_FS Convert 'depends && SYSFS && CONFIGFS_FS' to 'select CONFIGFS_FS' Reported-by: Joel Becker <[email protected]> Signed-off-by: Nicholas A. Bellinger <[email protected]> (cherry picked from commit 5eae59520b635dc8bc181acd7234736543841bb7) --- fs/dlm/Kconfig | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
fs/dlm/Kconfig +2 -2
@@ -1,7 +1,7 @@ menuconfig DLM tristate "Distributed Lock Manager (DLM)" - depends on EXPERIMENTAL && INET - depends on SYSFS && CONFIGFS_FS && (IPV6 || IPV6=n) + depends on EXPERIMENTAL && INET && (IPV6 || IPV6=n) + select CONFIGFS_FS select IP_SCTP help A general purpose distributed lock manager for kernel or userspace
Signature · 14 lines
1.7.3.5 -------------------------------------------------------------------- [PATCH 3/3] ocfs2: Make OCFS2_FS use select CONFIGFS_FS Convert 'depends && SYSFS && CONFIGFS_FS' to 'select CONFIGFS_FS' Reported-by: Joel Becker <[email protected]> Signed-off-by: Nicholas A. Bellinger <[email protected]> (cherry picked from commit c424fe33d264fa6f30b55435975ee52a5a165d75) --- fs/ocfs2/Kconfig | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
fs/ocfs2/Kconfig +2 -1
@@ -1,6 +1,7 @@ config OCFS2_FS tristate "OCFS2 file system support" - depends on NET && SYSFS && CONFIGFS_FS + depends on NET + select CONFIGFS_FS select JBD2 select CRC32 select QUOTA
Signature · 1 line
1.7.3.5