summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/backref.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@fusionio.com>2012-10-25 15:53:10 -0400
committerChris Mason <chris.mason@fusionio.com>2012-10-25 15:53:10 -0400
commitc657c3ef1adb2585ed7d2a6db73d0002926a6726 (patch)
tree5a53c8a58d5be5986d72fd2da8613aac118cf15c /fs/btrfs/backref.c
parentbe6aef604920406b348acf3be6e6e8db55696386 (diff)
parent01763a2e37425ae3f37a3dc051e0703fdade5956 (diff)
downloadlinux-c657c3ef1adb2585ed7d2a6db73d0002926a6726.tar.bz2
Merge branch 'for-chris-fixed' of git://git.jan-o-sch.net/btrfs-unstable
Diffstat (limited to 'fs/btrfs/backref.c')
-rw-r--r--fs/btrfs/backref.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/btrfs/backref.c b/fs/btrfs/backref.c
index b8b69266393a..208d8aa5b07e 100644
--- a/fs/btrfs/backref.c
+++ b/fs/btrfs/backref.c
@@ -283,9 +283,7 @@ static int __resolve_indirect_ref(struct btrfs_fs_info *fs_info,
goto out;
}
- rcu_read_lock();
- root_level = btrfs_header_level(root->node);
- rcu_read_unlock();
+ root_level = btrfs_old_root_level(root, time_seq);
if (root_level + 1 == level)
goto out;