Sunil Mushran wrote:
Wengang,
Thanks. The patch looks good.
However, please can you respin the patch for mainline. As we have now
have a 1.4 tree too, inorder to ensure that we don't miss any patches,
we want all patches to hit mainline before trickling down to 1.2/1.4.
And as this is a bugfix, we should be able to push this in before
2.6.26 is released.
Sunil
OK, got it.
patch for mainline
(git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git).
Signed-off-by: wengang wang <[EMAIL PROTECTED]>
---
super.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c
index df63ba2..682b1c5 100644
--- a/fs/ocfs2/super.c
+++ b/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, "Load journal failed! %d\n", status);
+ goto finally;
+ }
if (dirty) {
/* recover my local alloc if we didn't unmount cleanly. */
_______________________________________________
Ocfs2-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-devel