Skip to content
Commit 49771a75 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix bch2_btree_path_traverse_cached() when paths realloced



btree_key_cache_fill() will allocate and traverse another path (for the
underlying btree), so we can't hold pointers to paths across a call - we
have to pass indices.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 9c09e59c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment