jbd2: Drop unnecessary branch from jbd2_journal_forget()
authorJan Kara <jack@suse.cz>
Fri, 9 Aug 2019 12:42:30 +0000 (14:42 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 21 Oct 2019 13:16:46 +0000 (09:16 -0400)
commit6d69843e5d3f0c394e1e3004cc2b36efbe402b71
tree6407b6e7b5d52fdaad7864865365e3798f55a4b3
parent93108ebb848df8d4948d51db14714a14c4e81111
jbd2: Drop unnecessary branch from jbd2_journal_forget()

We have cleared both dirty & jbddirty bits from the bh. So there's no
difference between bforget() and brelse(). Thus there's no point jumping
to no_jbd branch.

Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20190809124233.13277-5-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/jbd2/transaction.c