Lift the FS menu a bit by moving filesystem-specific
parts into their own menu.
This also moves minix and romfs into the "misc fs" menu,
as per Randy Dunlap's suggestion [http://lkml.org/lkml/2007/9/25/344]
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
---
fs/Kconfig | 81 +++++++++++++++++++++++++++++++-------------------------
fs/gfs2/Kconfig | 9 ++++--
fs/xfs/Kconfig | 10 +++---
3 files changed, 56 insertions(+), 44 deletions(-)
Index: linux-2.6.23/fs/Kconfig
===================================================================
--- linux-2.6.23.orig/fs/Kconfig
+++ linux-2.6.23/fs/Kconfig
@@ -6,6 +6,17 @@ menu "File systems"
if BLOCK
+menuconfig EXT_FS
+ bool "Extended filesystem family"
+ default y
+ ---help---
+ Say Y here to get to see options for the 'ext' filesystems.
+ This option alone does not add any kernel code.
+
+ If you say N, all options in this submenu will be skipped and disabled.
+
+if EXT_FS
+
config EXT2_FS
tristate "Second extended fs support"
help
@@ -272,7 +283,9 @@ config FS_MBCACHE
default y if EXT2_FS=y || EXT3_FS=y || EXT4DEV_FS=y
default m if EXT2_FS=m || EXT3_FS=m || EXT4DEV_FS=m
-config REISERFS_FS
+endif # EXT_FS
+
+menuconfig REISERFS_FS
tristate "Reiserfs support"
help
Stores not just filenames but the files themselves in a balanced
@@ -358,7 +371,7 @@ config REISERFS_FS_SECURITY
If you are not using a security module that requires using
extended attributes for file security labels, say N.
-config JFS_FS
+menuconfig JFS_FS
tristate "JFS filesystem support"
select NLS
help
@@ -420,7 +433,7 @@ config FS_POSIX_ACL
source "fs/xfs/Kconfig"
source "fs/gfs2/Kconfig"
-config OCFS2_FS
+menuconfig OCFS2_FS
tristate "OCFS2 file system support"
depends on NET && SYSFS
select CONFIGFS_FS
@@ -458,39 +471,6 @@ config OCFS2_DEBUG_MASKLOG
This option will enlarge your kernel, but it allows debugging of
ocfs2 filesystem issues.
-c...