]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Btrfs: support root level changes in __resolve_indirect_ref
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Wed, 27 Jun 2012 13:23:09 +0000 (15:23 +0200)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Wed, 27 Jun 2012 14:34:38 +0000 (16:34 +0200)
commit9345457f4a539a40056431aeb6f068750857472f
tree1637c2a734c85ee1d4808b2a5b36a57cd295df27
parent8ca78f3eda4bf1799e8c4ba02035623fd7a347df
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: Jan Schmidt <list.btrfs@jan-o-sch.net>
fs/btrfs/backref.c