Skip to contentSkip to conversation

tune2fs: don't allow -O flex_bg because it's not supported

PATCH New Peng Tao 1 participant 1 message Dec 10, 2008

lore
Share & tools
lore

Peng Tao

author
#0 lore raw

PATCH 1/3 tune2fs: don't allow -O flex_bg because it's not supported

The following three patches are a simple solution for tune2fs bugs against flex_bg and resizing inode.
----------------

Don't allow add tune2fs -O flex_bg because it's not support.

misc/tune2fs.c +1 -2
index a1fa57b..8bb6fd2 100644
@@ -117,8 +117,7 @@ static __u32 ok_features[3] = {
 		EXT2_FEATURE_COMPAT_DIR_INDEX,
 	/* Incompat */
 	EXT2_FEATURE_INCOMPAT_FILETYPE |
-		EXT3_FEATURE_INCOMPAT_EXTENTS |
-		EXT4_FEATURE_INCOMPAT_FLEX_BG,
+		EXT3_FEATURE_INCOMPAT_EXTENTS,
 	/* R/O compat */
 	EXT2_FEATURE_RO_COMPAT_LARGE_FILE |
 		EXT4_FEATURE_RO_COMPAT_HUGE_FILE|