Commit 29cea6f4 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix bch2_btree_path_up_until_good_node()



There was a rare bug when path->locks_want was nonzero, but not
BTREE_MAX_DEPTH, where we'd return on a valid node that wasn't locked -
oops.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent e0eaf862
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