X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fjbd2%2Frecovery.c;h=058f50f65b766605eb7c88cb56e80f84156c05d8;hb=e63e03273b89f7248baa56cf242474f661e776e1;hp=7199db52b2fdb5ab5a198a52e1ab7ac2194a2da3;hpb=8ea76900be3b4522396e2021260d2818a27b3a5b;p=linux-2.6 diff --git a/fs/jbd2/recovery.c b/fs/jbd2/recovery.c index 7199db52b2..058f50f65b 100644 --- a/fs/jbd2/recovery.c +++ b/fs/jbd2/recovery.c @@ -611,9 +611,8 @@ static int do_one_pass(journal_t *journal, chksum_err = chksum_seen = 0; if (info->end_transaction) { - printk(KERN_ERR "JBD: Transaction %u " - "found to be corrupt.\n", - next_commit_ID - 1); + journal->j_failed_commit = + info->end_transaction; brelse(bh); break; } @@ -644,10 +643,8 @@ static int do_one_pass(journal_t *journal, if (!JBD2_HAS_INCOMPAT_FEATURE(journal, JBD2_FEATURE_INCOMPAT_ASYNC_COMMIT)){ - printk(KERN_ERR - "JBD: Transaction %u " - "found to be corrupt.\n", - next_commit_ID); + journal->j_failed_commit = + next_commit_ID; brelse(bh); break; }