]> Pileus Git - ~andy/linux/commit
Btrfs: determine level of old roots
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Tue, 23 Oct 2012 09:28:27 +0000 (11:28 +0200)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Wed, 24 Oct 2012 10:36:38 +0000 (12:36 +0200)
commit5b6602e762cae17c8891d19698afea451e9c1d95
treed7a4ccfc3d56e3c94d1fab3efcd14464e3df357e
parent834328a8493079d15f30866ace42489463f52571
Btrfs: determine level of old roots

In btrfs_find_all_roots' termination condition, we compare the level of the
old buffer we got from btrfs_search_old_slot to the level of the current
root node. We'd better compare it to the level of the rewinded root node.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
fs/btrfs/backref.c
fs/btrfs/ctree.c
fs/btrfs/ctree.h