projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfcba2d
)
jbd2: remove unnecessary NULL check before iput()
author
Theodore Ts'o
<tytso@mit.edu>
Wed, 26 Nov 2014 01:02:37 +0000
(20:02 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Wed, 26 Nov 2014 01:02:37 +0000
(20:02 -0500)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/jbd2/journal.c
patch
|
blob
|
history
diff --git
a/fs/jbd2/journal.c
b/fs/jbd2/journal.c
index e4dc74713a4328eda4738823f51e0c6070937e0a..56dde1e85c249820274b7f4e4f589c445d3e21d2 100644
(file)
--- a/
fs/jbd2/journal.c
+++ b/
fs/jbd2/journal.c
@@
-1714,8
+1714,7
@@
int jbd2_journal_destroy(journal_t *journal)
if (journal->j_proc_entry)
jbd2_stats_proc_exit(journal);
- if (journal->j_inode)
- iput(journal->j_inode);
+ iput(journal->j_inode);
if (journal->j_revoke)
jbd2_journal_destroy_revoke(journal);
if (journal->j_chksum_driver)