jbd2: remove always true condition in __journal_try_to_free_buffer()
authorJan Kara <jack@suse.cz>
Wed, 14 Mar 2012 02:27:44 +0000 (22:27 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 14 Mar 2012 02:27:44 +0000 (22:27 -0400)
commitc254c9ec14d5c418c8f36ea7573edae2470a1dc1
treef7f7fd284408a2c986fbd78093e22c6a8850367f
parent5bebccf90127859085f6a020f08ff7f648e285a0
jbd2: remove always true condition in __journal_try_to_free_buffer()

The check b_jlist == BJ_None in __journal_try_to_free_buffer() is
always true (__jbd2_journal_temp_unlink_buffer() also checks this in
an assertion) so just remove it.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/jbd2/transaction.c