Whamcloud - gitweb
ChangeLog, mke2fs.c:
authorTheodore Ts'o <tytso@mit.edu>
Thu, 14 Jun 2001 07:05:44 +0000 (07:05 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 14 Jun 2001 07:05:44 +0000 (07:05 +0000)
  mke2fs.c (PRS): Remove unneeded test in when creating a external
   filesystem journal.

misc/ChangeLog
misc/mke2fs.c

index 505839d..82daed3 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-14  Theodore Tso  <tytso@valinux.com>
+
+       * mke2fs.c (PRS): Remove unneeded test in when creating a external
+               filesystem journal.
+
 2001-06-13  Theodore Tso  <tytso@valinux.com>
 
        * tune2fs.c, mke2fs.c, util.c, util.h (print_check_message): Move
index 97978a1..238a703 100644 (file)
@@ -1045,8 +1045,7 @@ static void PRS(int argc, char *argv[])
        if ((param.s_feature_compat & EXT3_FEATURE_COMPAT_HAS_JOURNAL) &&
            !journal_size)
                journal_size = -1;
-       if (!fs_type &&
-           (param.s_feature_incompat & EXT3_FEATURE_INCOMPAT_JOURNAL_DEV)) {
+       if (param.s_feature_incompat & EXT3_FEATURE_INCOMPAT_JOURNAL_DEV) {
                if (!fs_type)
                        fs_type = "journal";
                reserved_ratio = 0;