From: Theodore Ts'o Date: Thu, 9 Aug 2001 10:13:18 +0000 (-0400) Subject: mke2fs.c (PRS): Fix bug pointed out by Christopher Niessen; if mke2fs X-Git-Tag: E2FSPROGS-1_23~14 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=e8a447db4248f156d47a226323287a362bee8c72;p=tools%2Fe2fsprogs.git mke2fs.c (PRS): Fix bug pointed out by Christopher Niessen; if mke2fs -O none is specified, the sparse_super feature should not be present. --- diff --git a/misc/ChangeLog b/misc/ChangeLog index a6e06ce..0d03a4a 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,5 +1,9 @@ 2001-08-09 Theodore Tso + * 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 diff --git a/misc/mke2fs.c b/misc/mke2fs.c index a6dfa50..8e9dffc 100644 --- a/misc/mke2fs.c +++ b/misc/mke2fs.c @@ -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;