commit | d9f39d1e44c43fba26becc4145fabf9d767ff1cd | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Tue Nov 25 20:02:37 2014 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue Nov 25 20:02:37 2014 -0500 |
tree | 8a611ed827f145256730d6b7764aaecd4263f821 | |
parent | bfcba2d0352f7916e98a1cec54c1c2473da6f4d6 [diff] [blame] |
jbd2: remove unnecessary NULL check before iput() Signed-off-by: Theodore Ts'o <tytso@mit.edu>
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c index e4dc747..56dde1e 100644 --- a/fs/jbd2/journal.c +++ b/fs/jbd2/journal.c
@@ -1714,8 +1714,7 @@ 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)