Whamcloud - gitweb
debugfs: open file systems using EXT2_FLAG_64BITS
authorEric Sandeen <sandeen@redhat.com>
Mon, 26 Oct 2009 01:41:13 +0000 (21:41 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 26 Oct 2009 01:41:13 +0000 (21:41 -0400)
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debugfs/debugfs.c

index f999186..e3fb5f3 100644 (file)
@@ -127,7 +127,7 @@ void do_open_filesys(int argc, char **argv)
        int     catastrophic = 0;
        blk64_t superblock = 0;
        blk64_t blocksize = 0;
-       int     open_flags = EXT2_FLAG_SOFTSUPP_FEATURES;
+       int     open_flags = EXT2_FLAG_SOFTSUPP_FEATURES | EXT2_FLAG_64BITS; 
        char    *data_filename = 0;
 
        reset_getopt();
@@ -2150,7 +2150,7 @@ int main(int argc, char **argv)
        int             sci_idx;
        const char      *usage = "Usage: %s [-b blocksize] [-s superblock] [-f cmd_file] [-R request] [-V] [[-w] [-c] device]";
        int             c;
-       int             open_flags = EXT2_FLAG_SOFTSUPP_FEATURES;
+       int             open_flags = EXT2_FLAG_SOFTSUPP_FEATURES | EXT2_FLAG_64BITS;
        char            *request = 0;
        int             exit_status = 0;
        char            *cmd_file = 0;