]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitd2eb0b998990abf51d6e1d3bf16a2637b920a660
tree9493b41df7e513716f41fc10105b02193dcb5d9e
parentd4e839d4a9dc31d0c229e616146b01e1ace56604
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