LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH RESEND 0/4] Fix kconfig breakage wrt to CONFIGFS_FS
@ 2011-01-27 19:10 Nicholas A. Bellinger
  2011-01-27 19:10 ` [PATCH 1/4] gfs2: Remove 'select SYSFS ...' from Kconfig Nicholas A. Bellinger
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Nicholas A. Bellinger @ 2011-01-27 19:10 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, linux-fsdevel, linux-netdev, Ingo Molnar,
	Joel Becker, Randy Dunlap, Stephen Rothwell, Americo Wang,
	David Miller, Andrew Morton, Nicholas Bellinger

From: Nicholas Bellinger <nab@linux-iscsi.org>

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 <torvalds@linux-foundation.org>
  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,

Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>

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(-)

-- 
1.7.3.5


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/4] gfs2: Remove 'select SYSFS ...' from Kconfig
  2011-01-27 19:10 [PATCH RESEND 0/4] Fix kconfig breakage wrt to CONFIGFS_FS Nicholas A. Bellinger
@ 2011-01-27 19:10 ` Nicholas A. Bellinger
  2011-01-27 19:10 ` [PATCH 2/4] net: Make NETCONSOLE_DYNAMIC use select CONFIGFS_FS Nicholas A. Bellinger
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Nicholas A. Bellinger @ 2011-01-27 19:10 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, linux-fsdevel, linux-netdev, Ingo Molnar,
	Joel Becker, Randy Dunlap, Stephen Rothwell, Americo Wang,
	David Miller, Andrew Morton, Nicholas Bellinger

From: Nicholas Bellinger <nab@linux-iscsi.org>

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

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
---
 fs/gfs2/Kconfig |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/fs/gfs2/Kconfig b/fs/gfs2/Kconfig
index c465ae0..ff0a8eb 100644
--- a/fs/gfs2/Kconfig
+++ b/fs/gfs2/Kconfig
@@ -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
-- 
1.7.3.5


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/4] net: Make NETCONSOLE_DYNAMIC use select CONFIGFS_FS
  2011-01-27 19:10 [PATCH RESEND 0/4] Fix kconfig breakage wrt to CONFIGFS_FS Nicholas A. Bellinger
  2011-01-27 19:10 ` [PATCH 1/4] gfs2: Remove 'select SYSFS ...' from Kconfig Nicholas A. Bellinger
@ 2011-01-27 19:10 ` Nicholas A. Bellinger
  2011-01-28  8:25   ` WANG Cong
  2011-01-27 19:10 ` [PATCH 3/4] dlm: Make DLM " Nicholas A. Bellinger
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 8+ messages in thread
From: Nicholas A. Bellinger @ 2011-01-27 19:10 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, linux-fsdevel, linux-netdev, Ingo Molnar,
	Joel Becker, Randy Dunlap, Stephen Rothwell, Americo Wang,
	David Miller, Andrew Morton, Nicholas Bellinger

From: Nicholas Bellinger <nab@linux-iscsi.org>

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

Reported-by: Joel Becker <jlbec@evilplan.org>
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
---
 drivers/net/Kconfig |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 0382332..3d23ebb 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -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)
-- 
1.7.3.5


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 3/4] dlm: Make DLM use select CONFIGFS_FS
  2011-01-27 19:10 [PATCH RESEND 0/4] Fix kconfig breakage wrt to CONFIGFS_FS Nicholas A. Bellinger
  2011-01-27 19:10 ` [PATCH 1/4] gfs2: Remove 'select SYSFS ...' from Kconfig Nicholas A. Bellinger
  2011-01-27 19:10 ` [PATCH 2/4] net: Make NETCONSOLE_DYNAMIC use select CONFIGFS_FS Nicholas A. Bellinger
@ 2011-01-27 19:10 ` Nicholas A. Bellinger
  2011-01-27 19:10 ` [PATCH 4/4] ocfs2: Make OCFS2_FS " Nicholas A. Bellinger
  2011-01-27 19:41 ` [PATCH RESEND 0/4] Fix kconfig breakage wrt to CONFIGFS_FS Ingo Molnar
  4 siblings, 0 replies; 8+ messages in thread
From: Nicholas A. Bellinger @ 2011-01-27 19:10 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, linux-fsdevel, linux-netdev, Ingo Molnar,
	Joel Becker, Randy Dunlap, Stephen Rothwell, Americo Wang,
	David Miller, Andrew Morton, Nicholas Bellinger

From: Nicholas Bellinger <nab@linux-iscsi.org>

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

Reported-by: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
---
 fs/dlm/Kconfig |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/dlm/Kconfig b/fs/dlm/Kconfig
index 1897eb1..4f65a50 100644
--- a/fs/dlm/Kconfig
+++ b/fs/dlm/Kconfig
@@ -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
-- 
1.7.3.5


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 4/4] ocfs2: Make OCFS2_FS use select CONFIGFS_FS
  2011-01-27 19:10 [PATCH RESEND 0/4] Fix kconfig breakage wrt to CONFIGFS_FS Nicholas A. Bellinger
                   ` (2 preceding siblings ...)
  2011-01-27 19:10 ` [PATCH 3/4] dlm: Make DLM " Nicholas A. Bellinger
@ 2011-01-27 19:10 ` Nicholas A. Bellinger
  2011-01-27 19:41 ` [PATCH RESEND 0/4] Fix kconfig breakage wrt to CONFIGFS_FS Ingo Molnar
  4 siblings, 0 replies; 8+ messages in thread
From: Nicholas A. Bellinger @ 2011-01-27 19:10 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, linux-fsdevel, linux-netdev, Ingo Molnar,
	Joel Becker, Randy Dunlap, Stephen Rothwell, Americo Wang,
	David Miller, Andrew Morton, Nicholas Bellinger

From: Nicholas Bellinger <nab@linux-iscsi.org>

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

Reported-by: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
---
 fs/ocfs2/Kconfig |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/fs/ocfs2/Kconfig b/fs/ocfs2/Kconfig
index 77a8de5..bb03131 100644
--- a/fs/ocfs2/Kconfig
+++ b/fs/ocfs2/Kconfig
@@ -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
-- 
1.7.3.5


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH RESEND 0/4] Fix kconfig breakage wrt to CONFIGFS_FS
  2011-01-27 19:10 [PATCH RESEND 0/4] Fix kconfig breakage wrt to CONFIGFS_FS Nicholas A. Bellinger
                   ` (3 preceding siblings ...)
  2011-01-27 19:10 ` [PATCH 4/4] ocfs2: Make OCFS2_FS " Nicholas A. Bellinger
@ 2011-01-27 19:41 ` Ingo Molnar
  2011-01-27 19:52   ` Nicholas A. Bellinger
  4 siblings, 1 reply; 8+ messages in thread
From: Ingo Molnar @ 2011-01-27 19:41 UTC (permalink / raw)
  To: Nicholas A. Bellinger
  Cc: Linus Torvalds, linux-kernel, linux-fsdevel, linux-netdev,
	Joel Becker, Randy Dunlap, Stephen Rothwell, Americo Wang,
	David Miller, Andrew Morton


* Nicholas A. Bellinger <nab@linux-iscsi.org> wrote:

> From: Nicholas Bellinger <nab@linux-iscsi.org>
> 
> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH RESEND 0/4] Fix kconfig breakage wrt to CONFIGFS_FS
  2011-01-27 19:41 ` [PATCH RESEND 0/4] Fix kconfig breakage wrt to CONFIGFS_FS Ingo Molnar
@ 2011-01-27 19:52   ` Nicholas A. Bellinger
  0 siblings, 0 replies; 8+ messages in thread
From: Nicholas A. Bellinger @ 2011-01-27 19:52 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Linus Torvalds, linux-kernel, linux-fsdevel, linux-netdev,
	Joel Becker, Randy Dunlap, Stephen Rothwell, Americo Wang,
	David Miller, Andrew Morton

On Thu, 2011-01-27 at 20:41 +0100, Ingo Molnar wrote:
> * Nicholas A. Bellinger <nab@linux-iscsi.org> wrote:
> 
> > From: Nicholas Bellinger <nab@linux-iscsi.org>
> > 
> > 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?
> 

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/4] net: Make NETCONSOLE_DYNAMIC use select CONFIGFS_FS
  2011-01-27 19:10 ` [PATCH 2/4] net: Make NETCONSOLE_DYNAMIC use select CONFIGFS_FS Nicholas A. Bellinger
@ 2011-01-28  8:25   ` WANG Cong
  0 siblings, 0 replies; 8+ messages in thread
From: WANG Cong @ 2011-01-28  8:25 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-fsdevel, netdev

On Thu, 27 Jan 2011 11:10:28 -0800, Nicholas A. Bellinger wrote:

> From: Nicholas Bellinger <nab@linux-iscsi.org>
> 
> Convert 'depends && SYSFS && CONFIGFS_FS' to 'select CONFIGFS_FS'
> 

Acked-by: WANG Cong <xiyou.wangcong@gmail.com>

Thanks.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-01-28  8:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-27 19:10 [PATCH RESEND 0/4] Fix kconfig breakage wrt to CONFIGFS_FS Nicholas A. Bellinger
2011-01-27 19:10 ` [PATCH 1/4] gfs2: Remove 'select SYSFS ...' from Kconfig Nicholas A. Bellinger
2011-01-27 19:10 ` [PATCH 2/4] net: Make NETCONSOLE_DYNAMIC use select CONFIGFS_FS Nicholas A. Bellinger
2011-01-28  8:25   ` WANG Cong
2011-01-27 19:10 ` [PATCH 3/4] dlm: Make DLM " Nicholas A. Bellinger
2011-01-27 19:10 ` [PATCH 4/4] ocfs2: Make OCFS2_FS " Nicholas A. Bellinger
2011-01-27 19:41 ` [PATCH RESEND 0/4] Fix kconfig breakage wrt to CONFIGFS_FS Ingo Molnar
2011-01-27 19:52   ` Nicholas A. Bellinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).