bcachefs: bch2_trans_unlock_write()
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 24 Dec 2024 10:40:17 +0000 (05:40 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Fri, 10 Jan 2025 04:38:42 +0000 (23:38 -0500)
commit0971a72c3d1a8be44f54e72096c7d1fc5fbe512e
treefe3752b8c0a33ccb25fdb2e543849932606e6616
parente1911d7a69b88f02f0f1542a25f714574153f196
bcachefs: bch2_trans_unlock_write()

New helper for dropping all write locks; which is distinct from the
helper the transaction commit path uses, which is faster and only
touches updates.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_locking.c
fs/bcachefs/btree_locking.h
fs/bcachefs/btree_trans_commit.c