Skip to content
Commit 9345457f authored by Jan Schmidt's avatar Jan Schmidt
Browse files

Btrfs: support root level changes in __resolve_indirect_ref



With the tree mod log, we can have a tree that's two levels high, but
btrfs_search_old_slot may still return a path with the tree root at level
one instead. __resolve_indirect_ref must care for this and accept parents in
a lower level than expected.

Signed-off-by: default avatarJan Schmidt <list.btrfs@jan-o-sch.net>
parent 8ca78f3e
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