提交 2c512397 编写于 作者: A Adrian Bunk 提交者: Al Viro

[patch 1/3] FS_MBCACHE: don't needlessly make it built-in

Assume you have:
- one or more of ext2/3/4 statically built into your kernel
- none of these with extended attributes enabled and
- want to add onother one of ext2/3/4 modular and with
  extended attributes enabled

then you currently have to reboot to use it since this results in
CONFIG_FS_MBCACHE=y.

That's not a common issue, but I just ran into it and since there's no
reason to get a built-in mbcache in this case this patch fixes it.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Cc: Andreas Gruenbacher <agruen@suse.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
上级 f696a365
...@@ -22,9 +22,10 @@ source "fs/jbd2/Kconfig" ...@@ -22,9 +22,10 @@ source "fs/jbd2/Kconfig"
config FS_MBCACHE config FS_MBCACHE
# Meta block cache for Extended Attributes (ext2/ext3/ext4) # Meta block cache for Extended Attributes (ext2/ext3/ext4)
tristate tristate
depends on EXT2_FS_XATTR || EXT3_FS_XATTR || EXT4_FS_XATTR default y if EXT2_FS=y && EXT2_FS_XATTR
default y if EXT2_FS=y || EXT3_FS=y || EXT4_FS=y default y if EXT3_FS=y && EXT3_FS_XATTR
default m if EXT2_FS=m || EXT3_FS=m || EXT4_FS=m default y if EXT4_FS=y && EXT4_FS_XATTR
default m if EXT2_FS_XATTR || EXT3_FS_XATTR || EXT4_FS_XATTR
config REISERFS_FS config REISERFS_FS
tristate "Reiserfs support" tristate "Reiserfs support"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册