]> git.hungrycats.org Git - linux/commit
bcachefs: Fix locking in __bch2_trans_mark_dev_sb()
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 5 May 2024 03:48:58 +0000 (23:48 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 17 Aug 2024 00:45:15 +0000 (20:45 -0400)
commit0e49d3ff12501adaafaf6fdb19699f021d1eda1c
tree0546fa9b62c5d2bd35602890d1a230ac7a03cff0
parent99c87fe0f584f8d778a323141504d1ba5c89a4a5
bcachefs: Fix locking in __bch2_trans_mark_dev_sb()

We run this in full RW mode now, so we have to guard against the
superblock buffer being reallocated.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_gc.c
fs/bcachefs/buckets.c