bcachefs: Refactor bch2_trans_update_extent()
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 25 Aug 2021 05:03:25 +0000 (01:03 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:11 +0000 (17:09 -0400)
commit638c6ff951bfebbecde5b6912ce22a02a77fafc1
tree4184b5930d6104889d8b030344048ad855875989
parent9f6bd30703a32c25988c6aca87c1be1baddc57bd
bcachefs: Refactor bch2_trans_update_extent()

This consolidates the code for doing extent updates, and makes the btree
iterator usage a bit cleaner and more efficient.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/btree_update_leaf.c