Allow debugfs and dumpe2fs to support fs features under development
Add support for the new flag EXT2_FLAG_SOFTSUPP_FEATURES flag to
ext2fs_open() , which allows application to open filesystes with features
which are currently only partially supported by e2fsprogs.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c
index 6eba9ae..2e30d67 100644
--- a/debugfs/debugfs.c
+++ b/debugfs/debugfs.c
@@ -124,7 +124,7 @@
int catastrophic = 0;
blk_t superblock = 0;
blk_t blocksize = 0;
- int open_flags = 0;
+ int open_flags = EXT2_FLAG_SOFTSUPP_FEATURES;
char *data_filename = 0;
reset_getopt();
@@ -1792,7 +1792,7 @@
int sci_idx;
const char *usage = "Usage: debugfs [-b blocksize] [-s superblock] [-f cmd_file] [-R request] [-V] [[-w] [-c] device]";
int c;
- int open_flags = 0;
+ int open_flags = EXT2_FLAG_SOFTSUPP_FEATURES;
char *request = 0;
int exit_status = 0;
char *cmd_file = 0;