bcachefs: bch2_trans_node_add no longer uses trans_for_each_path()
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 10 Dec 2023 22:44:04 +0000 (17:44 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 1 Jan 2024 16:47:41 +0000 (11:47 -0500)
commitf33600057f50d3dea5cb3bda05c21ecce7125282
tree7b3f7f8c92137bfec2da55b5a9df78064196c793
parent24de63dacbffbfa069b44a1da1750eb5382275e7
bcachefs: bch2_trans_node_add no longer uses trans_for_each_path()

In the future we'll be making trans->paths resizable and potentially
having _many_ more paths (for fsck); we need to start fixing algorithms
that walk each path in a transaction where possible.

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