From: Theodore Ts'o Date: Mon, 14 May 2001 04:28:35 +0000 (+0000) Subject: ChangeLog, mkjournal.c: X-Git-Tag: E2FSPROGS-1_20~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7a34cb01a97d39842c610dd609b525eadd0a1de2;p=thirdparty%2Fe2fsprogs.git ChangeLog, mkjournal.c: mkjournal.c (ext2fs_create_journal_superblock): Remove redundant code. --- diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog index acff74328..cf3e9c961 100644 --- a/lib/ext2fs/ChangeLog +++ b/lib/ext2fs/ChangeLog @@ -1,3 +1,8 @@ +2001-05-14 Theodore Tso + + * mkjournal.c (ext2fs_create_journal_superblock): Remove redundant + code. + 2001-05-05 Theodore Tso * fileio.c (ext2fs_file_read): Factored out common code and diff --git a/lib/ext2fs/mkjournal.c b/lib/ext2fs/mkjournal.c index 212dd16fb..f405df7fc 100644 --- a/lib/ext2fs/mkjournal.c +++ b/lib/ext2fs/mkjournal.c @@ -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;