bcachefs: Kill BTREE_ITER_SET_POS_AFTER_COMMIT
authorKent Overstreet <kent.overstreet@gmail.com>
Sun, 29 Aug 2021 23:34:37 +0000 (19:34 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:11 +0000 (17:09 -0400)
commit5f8077cca89bdcc3d7660567462b17831356826d
tree20291e4a1674b0a38be2ff525bc66f16f4389597
parent638c6ff951bfebbecde5b6912ce22a02a77fafc1
bcachefs: Kill BTREE_ITER_SET_POS_AFTER_COMMIT

BTREE_ITER_SET_POS_AFTER_COMMIT is used internally to automagically
advance extent btree iterators on sucessful commit.

But with the upcomnig btree_path patch it's getting more awkward to
support, and it adds overhead to core data structures that's only used
in a few places, and can be easily done by the caller instead.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/btree_iter.c
fs/bcachefs/btree_types.h
fs/bcachefs/btree_update_leaf.c
fs/bcachefs/ec.c
fs/bcachefs/io.c
fs/bcachefs/move.c