bcachefs: Improve __bch2_btree_path_make_mut()
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 1 Nov 2022 08:23:24 +0000 (04:23 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:45 +0000 (17:09 -0400)
commit984dc67e3bceb8871444961df0d2c2a45d5a3f4e
tree6cff5bb3f653e4f4c9e3e0f5eb93de5984d99055
parent0cc455b3ca5ffc9b0d5e9b1a21a9f3cd7fde8247
bcachefs: Improve __bch2_btree_path_make_mut()

btree_path_copy() doesn't need to call
bch2_btree_path_check_sort_fast() - the newly allocated path will always
be in the correct position, post copy; also delete some redundant
branches from __bch2_btree_path_make_mut().

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