bcachefs: No need to clone iterators for update
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 6 Sep 2021 19:38:12 +0000 (15:38 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:11 +0000 (17:09 -0400)
commitcf3c68cda684b41bcdd4d9a8dba4abd4abb32881
tree1c921e9f2401846dcdb2db1fb80ea003d87f36df
parent22b383ad7e1928de8da14d66a7154a9bfebf9a46
bcachefs: No need to clone iterators for update

Since btree_path is now internally refcounted, we don't need to clone an
iterator before calling bch2_trans_update() if we'll be mutating it.

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