aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/backref.c
diff options
context:
space:
mode:
authorValentina Giusti <valentina.giusti@microon.de>2013-11-04 16:34:28 -0500
committerChris Mason <clm@fb.com>2014-01-28 16:19:35 -0500
commite94acd86d48d61a5d919d807ed1efa0d8c1cd5ae (patch)
treebbd6d54331950e7385ded2b5c60455740fe51e7c /fs/btrfs/backref.c
parentce3e7f1073ee4958a30e5677e868f79292bc53a6 (diff)
btrfs: replace path->slots[0] with otherwise unused variable 'slot'
Signed-off-by: Valentina Giusti <valentina.giusti@microon.de> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/backref.c')
-rw-r--r--fs/btrfs/backref.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/backref.c b/fs/btrfs/backref.c
index 3775947429b2..826b98c211ae 100644
--- a/fs/btrfs/backref.c
+++ b/fs/btrfs/backref.c
@@ -1683,8 +1683,8 @@ static int iterate_inode_extrefs(u64 inum, struct btrfs_root *fs_root,
1683 btrfs_release_path(path); 1683 btrfs_release_path(path);
1684 1684
1685 leaf = path->nodes[0]; 1685 leaf = path->nodes[0];
1686 item_size = btrfs_item_size_nr(leaf, path->slots[0]); 1686 item_size = btrfs_item_size_nr(leaf, slot);
1687 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); 1687 ptr = btrfs_item_ptr_offset(leaf, slot);
1688 cur_offset = 0; 1688 cur_offset = 0;
1689 1689
1690 while (cur_offset < item_size) { 1690 while (cur_offset < item_size) {