git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ocfs2: Set journal descriptor to NULL after journal shutdown
[pandora-kernel.git]
/
fs
/
ocfs2
/
journal.c
diff --git
a/fs/ocfs2/journal.c
b/fs/ocfs2/journal.c
index
81e4067
..
99fe9d5
100644
(file)
--- a/
fs/ocfs2/journal.c
+++ b/
fs/ocfs2/journal.c
@@
-690,6
+690,7
@@
void ocfs2_journal_shutdown(struct ocfs2_super *osb)
/* Shutdown the kernel journal system */
jbd2_journal_destroy(journal->j_journal);
+ journal->j_journal = NULL;
OCFS2_I(inode)->ip_open_count--;