public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pull XFS support out of Kconfig submenu
@ 2005-08-17 20:45 Jesper Juhl
  2005-08-18 13:53 ` Chris Wedgwood
  0 siblings, 1 reply; 6+ messages in thread
From: Jesper Juhl @ 2005-08-17 20:45 UTC (permalink / raw)
  To: xfs-masters; +Cc: nathans, linux-xfs, linux-kernel

It seems slightly odd to me that XFS support should be in a separate submenu,
when all the other filesystems are not using submenus but are directly 
selectable from the Filesystems menu.
This patch makes XFS Kconfig entries behave like everything else.

Ignore if there's a good reason for the menu, please consider applying 
otherwise.

Please Cc: me on replies.


Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
---

 fs/xfs/Kconfig |    5 +----
 1 files changed, 1 insertion(+), 4 deletions(-)

--- linux-2.6.13-rc6-git9-orig/fs/xfs/Kconfig	2005-06-17 21:48:29.000000000 +0200
+++ linux-2.6.13-rc6-git9/fs/xfs/Kconfig	2005-08-17 22:38:26.000000000 +0200
@@ -1,5 +1,3 @@
-menu "XFS support"
-
 config XFS_FS
 	tristate "XFS filesystem support"
 	select EXPORTFS if NFSD!=n
@@ -22,6 +20,7 @@
 
 config XFS_EXPORT
 	bool
+	depends on XFS_FS
 	default y if XFS_FS && EXPORTFS
 
 config XFS_RT
@@ -81,5 +80,3 @@
 	  Linux website <http://acl.bestbits.at/>.
 
 	  If you don't know what Access Control Lists are, say N.
-
-endmenu



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

* Re: [PATCH] pull XFS support out of Kconfig submenu
  2005-08-17 20:45 [PATCH] pull XFS support out of Kconfig submenu Jesper Juhl
@ 2005-08-18 13:53 ` Chris Wedgwood
  2005-08-18 15:22   ` [xfs-masters] " Russell Cattelan
  2005-08-18 15:23   ` Eric Sandeen
  0 siblings, 2 replies; 6+ messages in thread
From: Chris Wedgwood @ 2005-08-18 13:53 UTC (permalink / raw)
  To: Jesper Juhl; +Cc: xfs-masters, nathans, linux-xfs, linux-kernel

On Wed, Aug 17, 2005 at 10:45:48PM +0200, Jesper Juhl wrote:

> It seems slightly odd to me that XFS support should be in a separate
> submenu, when all the other filesystems are not using submenus but
> are directly selectable from the Filesystems menu.

XFS also has an out-of-tree version.  Making it a submenu is probably
to make maintenance easier (ie. replace files, not merge).


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

* Re: [xfs-masters] Re: [PATCH] pull XFS support out of Kconfig submenu
  2005-08-18 13:53 ` Chris Wedgwood
@ 2005-08-18 15:22   ` Russell Cattelan
  2005-08-18 22:55     ` Nathan Scott
  2005-08-18 15:23   ` Eric Sandeen
  1 sibling, 1 reply; 6+ messages in thread
From: Russell Cattelan @ 2005-08-18 15:22 UTC (permalink / raw)
  To: xfs-masters; +Cc: Jesper Juhl, nathans, linux-xfs, linux-kernel

On Thu, 2005-08-18 at 06:53 -0700, Chris Wedgwood wrote:
> On Wed, Aug 17, 2005 at 10:45:48PM +0200, Jesper Juhl wrote:
> 
> > It seems slightly odd to me that XFS support should be in a separate
> > submenu, when all the other filesystems are not using submenus but
> > are directly selectable from the Filesystems menu.
> 
> XFS also has an out-of-tree version.  Making it a submenu is probably
> to make maintenance easier (ie. replace files, not merge).
> 
That is why the Kconfig options for xfs moved from fs/Kconfig to
fs/xfs/Kconfig but using submenu was simply a convince thing 
to group all the XFS options together.

If the submenu is really causing people distress go ahead and 
remove it. Since it's a cosmetic change it's not going to impact
anything.

-Russell


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

* Re: [xfs-masters] Re: [PATCH] pull XFS support out of Kconfig submenu
  2005-08-18 13:53 ` Chris Wedgwood
  2005-08-18 15:22   ` [xfs-masters] " Russell Cattelan
@ 2005-08-18 15:23   ` Eric Sandeen
  2005-08-18 15:32     ` Eric Sandeen
  1 sibling, 1 reply; 6+ messages in thread
From: Eric Sandeen @ 2005-08-18 15:23 UTC (permalink / raw)
  To: xfs-masters; +Cc: Jesper Juhl, nathans, linux-xfs, linux-kernel

Chris Wedgwood wrote:
> On Wed, Aug 17, 2005 at 10:45:48PM +0200, Jesper Juhl wrote:
> 
> 
>>It seems slightly odd to me that XFS support should be in a separate
>>submenu, when all the other filesystems are not using submenus but
>>are directly selectable from the Filesystems menu.
> 
> 
> XFS also has an out-of-tree version.  Making it a submenu is probably
> to make maintenance easier (ie. replace files, not merge).
> 

Where the Kconfig is vs. where the menu appears are 2 different things 
though.  The latest kernel has our own Kconfig in fs/xfs, and fs/Kconfig 
just does:

source "fs/xfs/Kconfig"

This does facilitate swapping in a devel version of fs/xfs via a 
symlink, etc.

However, fs/xfs/Kconfig does still start with

menu "XFS support"

which puts it in a submenu, unlike every other fs.

I have no problem with removing the submenu.

-Eric

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

* Re: [xfs-masters] Re: [PATCH] pull XFS support out of Kconfig submenu
  2005-08-18 15:23   ` Eric Sandeen
@ 2005-08-18 15:32     ` Eric Sandeen
  0 siblings, 0 replies; 6+ messages in thread
From: Eric Sandeen @ 2005-08-18 15:32 UTC (permalink / raw)
  To: xfs-masters; +Cc: Jesper Juhl, nathans, linux-xfs, linux-kernel

Eric Sandeen wrote:
> I have no problem with removing the submenu.

Hm, however, if this is a purely cosmetic thing, let's go all the way 
and format the xfs options like the others, with indentation etc:

  config XFS_RT
-       bool "Realtime support (EXPERIMENTAL)"
+       bool "  XFS Realtime support (EXPERIMENTAL)"


May be simpler to just make this change internally & let Nathan push it 
out.  I do agree that it looks better.  :)

-Eric

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

* Re: [xfs-masters] Re: [PATCH] pull XFS support out of Kconfig submenu
  2005-08-18 15:22   ` [xfs-masters] " Russell Cattelan
@ 2005-08-18 22:55     ` Nathan Scott
  0 siblings, 0 replies; 6+ messages in thread
From: Nathan Scott @ 2005-08-18 22:55 UTC (permalink / raw)
  To: Russell Cattelan; +Cc: Jesper Juhl, linux-xfs, linux-kernel

On Thu, Aug 18, 2005 at 10:22:26AM -0500, Russell Cattelan wrote:
> .. fs/xfs/Kconfig but using submenu was simply a convince thing 
> to group all the XFS options together.

s/convince/convenience/

> If the submenu is really causing people distress go ahead and 
> remove it. Since it's a cosmetic change it's not going to impact
> anything.

Yep, I guess we should just queue this up for 2.6.14.

cheers.

-- 
Nathan

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

end of thread, other threads:[~2005-08-18 22:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-17 20:45 [PATCH] pull XFS support out of Kconfig submenu Jesper Juhl
2005-08-18 13:53 ` Chris Wedgwood
2005-08-18 15:22   ` [xfs-masters] " Russell Cattelan
2005-08-18 22:55     ` Nathan Scott
2005-08-18 15:23   ` Eric Sandeen
2005-08-18 15:32     ` Eric Sandeen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox