jbd2: remove unnecessary NULL check before iput()
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
parent
bfcba2d035
commit
d9f39d1e44
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue