Whamcloud - gitweb
ChangeLog, mkjournal.c:
authorTheodore Ts'o <tytso@mit.edu>
Mon, 14 May 2001 04:28:35 +0000 (04:28 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 14 May 2001 04:28:35 +0000 (04:28 +0000)
  mkjournal.c (ext2fs_create_journal_superblock): Remove redundant code.

lib/ext2fs/ChangeLog
lib/ext2fs/mkjournal.c

index acff743..cf3e9c9 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-14  Theodore Tso  <tytso@valinux.com>
+
+       * mkjournal.c (ext2fs_create_journal_superblock): Remove redundant
+               code.
+
 2001-05-05  Theodore Tso  <tytso@valinux.com>
 
        * fileio.c (ext2fs_file_read): Factored out common code and
index 212dd16..f405df7 100644 (file)
@@ -74,10 +74,8 @@ errcode_t ext2fs_create_journal_superblock(ext2_filsys fs,
         * adjust these fields.
         */
        if (fs->super->s_feature_incompat &
-           EXT3_FEATURE_INCOMPAT_JOURNAL_DEV) {
+           EXT3_FEATURE_INCOMPAT_JOURNAL_DEV)
                jsb->s_nr_users = 0;
-               jsb->s_first = htonl(1);
-       }
 
        *ret_jsb = (char *) jsb;
        return 0;