From: Tahsin Erdogan Date: Wed, 5 Jul 2017 03:53:59 +0000 (-0400) Subject: tune2fs: do not allow disabling ea_inode feature X-Git-Tag: v1.44.0-rc1~74 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=5b72578279fe2470e682692a15d70a43d9289e0f;p=tools%2Fe2fsprogs.git tune2fs: do not allow disabling ea_inode feature Disabling ea_inode feature would require inlining all the existing xattr values that are currently stored in external inodes. This is not always possible. Just disallow it. Signed-off-by: Tahsin Erdogan Signed-off-by: Theodore Ts'o --- diff --git a/misc/tune2fs.c b/misc/tune2fs.c index 9074670..2a437b9 100644 --- a/misc/tune2fs.c +++ b/misc/tune2fs.c @@ -180,7 +180,6 @@ static __u32 clear_ok_features[3] = { /* Incompat */ EXT2_FEATURE_INCOMPAT_FILETYPE | EXT4_FEATURE_INCOMPAT_FLEX_BG | - EXT4_FEATURE_INCOMPAT_EA_INODE| EXT4_FEATURE_INCOMPAT_MMP | EXT4_FEATURE_INCOMPAT_64BIT | EXT4_FEATURE_INCOMPAT_CSUM_SEED,