From 7a34cb01a97d39842c610dd609b525eadd0a1de2 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Mon, 14 May 2001 04:28:35 +0000 Subject: [PATCH] ChangeLog, mkjournal.c: mkjournal.c (ext2fs_create_journal_superblock): Remove redundant code. --- lib/ext2fs/ChangeLog | 5 +++++ lib/ext2fs/mkjournal.c | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog index acff743..cf3e9c9 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 212dd16..f405df7 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; -- 1.8.3.1