jbd2: check jh->b_transaction without taking j_list_lock
authorTheodore Ts'o <tytso@mit.edu>
Sun, 9 Mar 2014 05:07:19 +0000 (00:07 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 9 Mar 2014 05:07:19 +0000 (00:07 -0500)
jh->b_transaction is adequately protected for reading by the
jbd_lock_bh_state(bh), so we don't need to take j_list_lock in
__journal_try_to_free_buffer().

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

Simple merge