Commit d9f39d1e authored by Theodore Ts'o's avatar Theodore Ts'o

jbd2: remove unnecessary NULL check before iput()

Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent bfcba2d0
...@@ -1714,8 +1714,7 @@ int jbd2_journal_destroy(journal_t *journal) ...@@ -1714,8 +1714,7 @@ int jbd2_journal_destroy(journal_t *journal)
if (journal->j_proc_entry) if (journal->j_proc_entry)
jbd2_stats_proc_exit(journal); jbd2_stats_proc_exit(journal);
if (journal->j_inode) iput(journal->j_inode);
iput(journal->j_inode);
if (journal->j_revoke) if (journal->j_revoke)
jbd2_journal_destroy_revoke(journal); jbd2_journal_destroy_revoke(journal);
if (journal->j_chksum_driver) if (journal->j_chksum_driver)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment