提交 d9f39d1e 编写于 作者: T Theodore Ts'o

jbd2: remove unnecessary NULL check before iput()

Signed-off-by: NTheodore Ts'o <tytso@mit.edu>
上级 bfcba2d0
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册