bcachefs: Convert more locking code to btree_bkey_cached_common
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 4 Sep 2022 01:09:54 +0000 (21:09 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:40 +0000 (17:09 -0400)
commitda4474f20961f995a1d54f82b4c462c94ea03552
tree5f0d4340d43b67b85494ba861774eec8ded2e19a
parent4e6defd106b69c3a78da380d694fd43275125dda
bcachefs: Convert more locking code to btree_bkey_cached_common

Ideally, all the code in btree_locking.c should be converted, but then
we'd want to convert btree_path to point to btree_key_cached_common too,
and then we'd be in for a much bigger cleanup - but a bit of incremental
cleanup will still be helpful for the next patches.

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