From 3aecd839abf6417830cda9d3836bb0aa930f64ca Mon Sep 17 00:00:00 2001 From: Wengang Wang Date: Tue, 10 Jun 2008 14:24:48 +0800 Subject: [PATCH] --- yaml --- r: 102333 b: refs/heads/master c: 01af482037d32c215aab208a0b110ffe6fd782c0 h: refs/heads/master i: 102331: 21afb6f1efe3bdf1cd87ef1548a8c7dd3e673c0f v: v3 --- [refs] | 2 +- trunk/fs/ocfs2/super.c | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 8835774bc2ff..b4e0a3d6ac75 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 56753bd3b9220f6f2477eb1cf97f40c24e0a4c91 +refs/heads/master: 01af482037d32c215aab208a0b110ffe6fd782c0 diff --git a/trunk/fs/ocfs2/super.c b/trunk/fs/ocfs2/super.c index df63ba20ae90..ccecfe5094fa 100644 --- a/trunk/fs/ocfs2/super.c +++ b/trunk/fs/ocfs2/super.c @@ -1703,7 +1703,11 @@ static int ocfs2_check_volume(struct ocfs2_super *osb) local = ocfs2_mount_local(osb); /* will play back anything left in the journal. */ - ocfs2_journal_load(osb->journal, local); + status = ocfs2_journal_load(osb->journal, local); + if (status < 0) { + mlog(ML_ERROR, "ocfs2 journal load failed! %d\n", status); + goto finally; + } if (dirty) { /* recover my local alloc if we didn't unmount cleanly. */