From: Andreas Dilger Date: Fri, 9 Nov 2001 00:50:50 +0000 (-0700) Subject: Allow a single user for internal journals (the current filesystem) X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=6a138ed42a394e29ace844213db2c4f893fe84d0;p=tools%2Fe2fsprogs.git Allow a single user for internal journals (the current filesystem) since this is how the filesystem is created. --- diff --git a/e2fsck/journal.c b/e2fsck/journal.c index 62d4812..78f2f1a 100644 --- a/e2fsck/journal.c +++ b/e2fsck/journal.c @@ -402,7 +402,7 @@ static errcode_t e2fsck_journal_load(journal_t *journal) case JFS_SUPERBLOCK_V2: journal->j_format_version = 2; - if (jsb->s_nr_users && + if (jsb->s_nr_users > 1 && (ctx->fs->io == ctx->journal_io)) clear_v2_journal_fields(journal); if (ntohl(jsb->s_nr_users) > 1) {