Whamcloud - gitweb
mke2fs.c (PRS): Fix bug pointed out by Christopher Niessen; if mke2fs
authorTheodore Ts'o <tytso@mit.edu>
Thu, 9 Aug 2001 10:13:18 +0000 (06:13 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 9 Aug 2001 10:13:18 +0000 (06:13 -0400)
-O none is specified, the sparse_super feature should not be present.

misc/ChangeLog
misc/mke2fs.c

index a6e06ce..0d03a4a 100644 (file)
@@ -1,5 +1,9 @@
 2001-08-09  Theodore Tso  <tytso@valinux.com>
 
+       * mke2fs.c (PRS): Fix bug pointed out by Christopher Niessen; if
+               mke2fs -O none is specified, the sparse_super feature
+               should not be present.
+
        * e2image.c, e2image.8.in: Add support for raw image files.
 
 2001-08-04  Andreas Dilger  <root@lynx.adilger.int>
index a6dfa50..8e9dffc 100644 (file)
@@ -762,11 +762,11 @@ static void PRS(int argc, char *argv[])
        int             reserved_ratio = 5;
        ext2_ino_t      num_inodes = 0;
        errcode_t       retval;
-       int             sparse_option = 1;
+       int             sparse_option = 0;
        char *          oldpath = getenv("PATH");
        char *          raid_opts = 0;
        char *          fs_type = 0;
-       const char *    feature_set = "filetype";
+       const char *    feature_set = "sparse_super,filetype";
        blk_t           dev_size;
 #ifdef linux
        struct          utsname ut;