Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

jbd2: remove unnecessary NULL check before iput()



Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent bfcba2d0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1714,7 +1714,6 @@ 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);
	if (journal->j_revoke)
		jbd2_journal_destroy_revoke(journal);