From 6a138ed42a394e29ace844213db2c4f893fe84d0 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Thu, 8 Nov 2001 17:50:50 -0700 Subject: [PATCH] Allow a single user for internal journals (the current filesystem) since this is how the filesystem is created. --- e2fsck/journal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 1.8.3.1