diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c index 7e49d912b091..f8c7917efad2 100644 --- a/fs/jbd2/journal.c +++ b/fs/jbd2/journal.c @@ -2092,11 +2092,6 @@ int jbd2_journal_load(journal_t *journal) journal->j_devname); return -EFSCORRUPTED; } - /* - * clear JBD2_ABORT flag initialized in journal_init_common - * here to update log tail information with the newest seq. - */ - journal->j_flags &= ~JBD2_ABORT; /* OK, we've finished with the dynamic journal bits: * reinitialise the dynamic contents of the superblock in memory @@ -2107,6 +2102,7 @@ int jbd2_journal_load(journal_t *journal) return err; } + journal->j_flags &= ~JBD2_ABORT; journal->j_flags |= JBD2_LOADED; return 0; }