Skip to contentSkip to conversation

Fix kconfig breakage wrt to CONFIGFS_FS

PATCH RESEND In review Nicholas A. Bellinger 3 participants 8 messages Jan 27, 2011 – Jan 28, 2011

Subsystems (6)
Networking Network drivers VFS OCFS2 +2 more subsystems
lore
Share & tools
lore
#0 lore raw

cover Fix kconfig breakage wrt to CONFIGFS_FS

From: Nicholas Bellinger <[email protected]>

Hi Linus,

The following four patches are to address recent Kconfig CONFIGFS_FS -> 'select SYSFS' change for GFS2_FS, and 'depends && SYSFS && CONFIGFS_FS' breakage for NETCONSOLE_DYNAMIC, DLM, and OCFS2_FS in .38-rc2.

Please review and consider pulling from:

git://git.kernel.org/pub/scm/linux/kernel/git/nab/scsi-post-merge-2.6.git for-linus-v2

currently against the latest linux-2.6.git/master HEAD:

commit 6fb1b304255efc5c4c93874ac8c066272e257e28
Merge: ac751ef 409550f
Author: Linus Torvalds <[email protected]>
Date: Wed Jan 26 16:31:44 2011 +1000

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input

Thanks,

Nicholas Bellinger (4):
gfs2: Remove 'select SYSFS ...' from Kconfig
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/gfs2/Kconfig     |    1 -
 fs/ocfs2/Kconfig    |    3 ++-
 4 files changed, 6 insertions(+), 5 deletions(-)
Signature · 1 line
1.7.3.5
#1 lore raw

PATCH 1/4 gfs2: Remove 'select SYSFS ...' from Kconfig

From: Nicholas Bellinger <[email protected]>

With CONFIGFS_FS now doing 'select SYSFS' by default, the extra 'select SYSFS if GFS2_FS_LOCKING_DLM' for GFS2_FS is now unnecessary.

---
 fs/gfs2/Kconfig |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
fs/gfs2/Kconfig +0 -1
index c465ae0..ff0a8eb 100644
@@ -3,7 +3,6 @@ config GFS2_FS
 	depends on (64BIT || LBDAF)
 	select DLM if GFS2_FS_LOCKING_DLM
 	select CONFIGFS_FS if GFS2_FS_LOCKING_DLM
-	select SYSFS if GFS2_FS_LOCKING_DLM
 	select IP_SCTP if DLM_SCTP
 	select FS_POSIX_ACL
 	select CRC32
Signature · 1 line
1.7.3.5
#2 lore raw

PATCH 2/4 net: Make NETCONSOLE_DYNAMIC use select CONFIGFS_FS

In reply to Nicholas A. Bellinger

From: Nicholas Bellinger <[email protected]>

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
index 0382332..3d23ebb 100644
@@ -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 · 1 line
1.7.3.5
#4 lore raw

PATCH 3/4 dlm: Make DLM use select CONFIGFS_FS

In reply to Nicholas A. Bellinger

From: Nicholas Bellinger <[email protected]>

Convert 'depends && SYSFS && CONFIGFS_FS' to 'select CONFIGFS_FS'

---
 fs/dlm/Kconfig |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
fs/dlm/Kconfig +2 -2
index 1897eb1..4f65a50 100644
@@ -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 · 1 line
1.7.3.5
#5 lore raw

PATCH 4/4 ocfs2: Make OCFS2_FS use select CONFIGFS_FS

In reply to Nicholas A. Bellinger

From: Nicholas Bellinger <[email protected]>

Convert 'depends && SYSFS && CONFIGFS_FS' to 'select CONFIGFS_FS'

---
 fs/ocfs2/Kconfig |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
fs/ocfs2/Kconfig +2 -1
index 77a8de5..bb03131 100644
@@ -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
#6 lore raw
In reply to Nicholas A. Bellinger
Quoted 11 lines · Nicholas A. Bellinger

From: Nicholas Bellinger <[email protected]>

Hi Linus,

The following four patches are to address recent Kconfig CONFIGFS_FS -> 'select SYSFS' change for GFS2_FS, and 'depends && SYSFS && CONFIGFS_FS' breakage for NETCONSOLE_DYNAMIC, DLM, and OCFS2_FS in .38-rc2.

Please review and consider pulling from:

git://git.kernel.org/pub/scm/linux/kernel/git/nab/scsi-post-merge-2.6.git for-linus-v2

I had the original for-linus branch tested rather extensively, and that one had no problems. What's different in -v2?

Thanks,

Ingo

#7 lore raw
Quoted 10 lines · Ingo Molnar
Quoted 8 lines · Nicholas A. Bellinger

From: Nicholas Bellinger <[email protected]>

Hi Linus,

The following four patches are to address recent Kconfig CONFIGFS_FS -> 'select SYSFS' change for GFS2_FS, and 'depends && SYSFS && CONFIGFS_FS' breakage for NETCONSOLE_DYNAMIC, DLM, and OCFS2_FS in .38-rc2.

Quoted 7 lines
Quoted 3 lines

Please review and consider pulling from:

git://git.kernel.org/pub/scm/linux/kernel/git/nab/scsi-post-merge-2.6.git for-linus-v2

I had the original for-linus branch tested rather extensively, and that one had no problems. What's different in -v2?

Hi Ingo,

The extra code is in patch #1 that fixes an additional GFS2_FS warning reported by Randy that appeared after the initial CONFIGFS_FS -> 'select SYSFS' conversion.

This patch for GFS2_FS was in scsi-post-merge-2.6.git/for-linus, but was not included in the shortlog/stat to Linus. So considering my current (poor) record with Kconfig changes in mainline, I figured that sending them out to the list one more time for review would make the most sense. ;)

Thanks,

--nab