diff options
author | Chris Mason <chris.mason@fusionio.com> | 2012-10-25 23:53:10 +0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-10-25 23:53:10 +0400 |
commit | c657c3ef1adb2585ed7d2a6db73d0002926a6726 (patch) | |
tree | 5a53c8a58d5be5986d72fd2da8613aac118cf15c /fs/btrfs/backref.c | |
parent | be6aef604920406b348acf3be6e6e8db55696386 (diff) | |
parent | 01763a2e37425ae3f37a3dc051e0703fdade5956 (diff) | |
download | linux-c657c3ef1adb2585ed7d2a6db73d0002926a6726.tar.xz |
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.c | 4 |
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; |