]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83ce33a79d9b402380f32f6b12eee5263b90d5b0
tree9493b41df7e513716f41fc10105b02193dcb5d9e
parentd6704505edc3890ed1fabcae1bada6af74323f17
jbd2: check jh->b_transaction without taking j_list_lock

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