[Ocfs2-commits] manish commits r2252 - trunk/fs/ocfs2
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Mon May 16 20:15:16 CDT 2005
Author: manish
Signed-off-by: mfasheh
Date: 2005-05-16 20:15:14 -0500 (Mon, 16 May 2005)
New Revision: 2252
Modified:
trunk/fs/ocfs2/journal.c
Log:
osb->journal may be NULL if we're in the failed mount path. Just bail
in ocfs_journal_shutdown if so.
Signed-off-by: mfasheh
Modified: trunk/fs/ocfs2/journal.c
===================================================================
--- trunk/fs/ocfs2/journal.c 2005-05-17 01:14:10 UTC (rev 2251)
+++ trunk/fs/ocfs2/journal.c 2005-05-17 01:15:14 UTC (rev 2252)
@@ -642,6 +642,9 @@
BUG();
journal = osb->journal;
+ if (!journal)
+ goto done;
+
inode = journal->j_inode;
if (journal->j_state != OCFS_JOURNAL_LOADED)
More information about the Ocfs2-commits
mailing list