linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3][e2fsprogs] tune2fs: don't allow -O flex_bg because it's not supported
@ 2008-12-10  8:05 Peng Tao
  0 siblings, 0 replies; only message in thread
From: Peng Tao @ 2008-12-10  8:05 UTC (permalink / raw)
  To: ext4 development

[-- Attachment #1: Type: text/plain, Size: 713 bytes --]

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.

    Signed-off-by: Peng Tao <bergwolf@gmail.com>

diff --git a/misc/tune2fs.c b/misc/tune2fs.c
index a1fa57b..8bb6fd2 100644
--- a/misc/tune2fs.c
+++ b/misc/tune2fs.c
@@ -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|


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-10  8:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-10  8:05 [PATCH 1/3][e2fsprogs] tune2fs: don't allow -O flex_bg because it's not supported Peng Tao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).