diff mbox

[09/11] ext4: subtree add kconfig options

Message ID 1265635693-12182-10-git-send-email-dmonakhov@openvz.org
State Not Applicable, archived
Headers show

Commit Message

Dmitry Monakhov Feb. 8, 2010, 1:28 p.m. UTC
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
---
 fs/ext4/Kconfig  |    9 +++++++++
 fs/ext4/Makefile |    1 +
 2 files changed, 10 insertions(+), 0 deletions(-)

Comments

Greg Freemyer Feb. 9, 2010, 12:10 a.m. UTC | #1
On Mon, Feb 8, 2010 at 8:28 AM, Dmitry Monakhov <dmonakhov@openvz.org> wrote:
>
> Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
> ---
>  fs/ext4/Kconfig  |    9 +++++++++
>  fs/ext4/Makefile |    1 +
>  2 files changed, 10 insertions(+), 0 deletions(-)
>
> diff --git a/fs/ext4/Kconfig b/fs/ext4/Kconfig
> index 9ed1bb1..6c05d1a 100644
> --- a/fs/ext4/Kconfig
> +++ b/fs/ext4/Kconfig
> @@ -75,6 +75,15 @@ config EXT4_FS_SECURITY
>          If you are not using a security module that requires using
>          extended attributes for file security labels, say N.
>
> +config EXT4_SUBTREE
> +       bool "Ext4 subtree support"
> +       depends on EXT4_FS_XATTR
> +       default y
> +       help
> +         Enables subtree support for ext4 filesystem
> +
> +         If you don't know what subtree are, say N
> +

Unless the subtree patch is enhanced to support orthogonal use cases,
the help text should explicitly comment on this limitation.

Greg
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/ext4/Kconfig b/fs/ext4/Kconfig
index 9ed1bb1..6c05d1a 100644
--- a/fs/ext4/Kconfig
+++ b/fs/ext4/Kconfig
@@ -75,6 +75,15 @@  config EXT4_FS_SECURITY
 	  If you are not using a security module that requires using
 	  extended attributes for file security labels, say N.
 
+config EXT4_SUBTREE
+	bool "Ext4 subtree support"
+	depends on EXT4_FS_XATTR
+	default y
+	help
+	  Enables subtree support for ext4 filesystem
+
+	  If you don't know what subtree are, say N
+
 config EXT4_DEBUG
 	bool "EXT4 debugging support"
 	depends on EXT4_FS
diff --git a/fs/ext4/Makefile b/fs/ext4/Makefile
index 8867b2a..2c314ce 100644
--- a/fs/ext4/Makefile
+++ b/fs/ext4/Makefile
@@ -11,3 +11,4 @@  ext4-y	:= balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o \
 ext4-$(CONFIG_EXT4_FS_XATTR)		+= xattr.o xattr_user.o xattr_trusted.o
 ext4-$(CONFIG_EXT4_FS_POSIX_ACL)	+= acl.o
 ext4-$(CONFIG_EXT4_FS_SECURITY)		+= xattr_security.o
+ext4-$(CONFIG_EXT4_SUBTREE)		+= subtree.o