Commit 984dc67e authored by Kent Overstreet's avatar Kent Overstreet
Browse files

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: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 0cc455b3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment