bcachefs: Inline bch2_two_state_(trylock|unlock)
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 23 Nov 2022 17:22:39 +0000 (12:22 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:51 +0000 (17:09 -0400)
commit19fe87e00b6a601b2ec8251d0231f4c9b3bb5002
tree0361c52ec7e58c284d54204c41f9e077737f8a43
parenta8b3a677e786fa869d220a6a78b5532a36dc2f4d
bcachefs: Inline bch2_two_state_(trylock|unlock)

Standard inlining of fast paths - these locks are now used by our new
nocow mode.

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