summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/backref.c
diff options
context:
space:
mode:
authorRoss Kirk2013-09-16 16:58:09 +0200
committerChris Mason2013-11-12 03:50:48 +0100
commitdd3cc16b8750251ea9b1a843ce7806e82b015d5e (patch)
tree9cb6e2d093ff52dffaa09b7474e805152691a541 /fs/btrfs/backref.c
parentBtrfs: don't store NULL byte in symlink extents (diff)
downloadkernel-qcow2-linux-dd3cc16b8750251ea9b1a843ce7806e82b015d5e.tar.gz
kernel-qcow2-linux-dd3cc16b8750251ea9b1a843ce7806e82b015d5e.tar.xz
kernel-qcow2-linux-dd3cc16b8750251ea9b1a843ce7806e82b015d5e.zip
btrfs: drop unused parameter from btrfs_item_nr
Remove unused eb parameter from btrfs_item_nr Signed-off-by: Ross Kirk <ross.kirk@gmail.com> Reviewed-by: David Sterba <dsterba@suse.cz> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/backref.c')
-rw-r--r--fs/btrfs/backref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/backref.c b/fs/btrfs/backref.c
index 0552a599b28f..721936a5b2ca 100644
--- a/fs/btrfs/backref.c
+++ b/fs/btrfs/backref.c
@@ -1619,7 +1619,7 @@ static int iterate_inode_refs(u64 inum, struct btrfs_root *fs_root,
btrfs_set_lock_blocking_rw(eb, BTRFS_READ_LOCK);
btrfs_release_path(path);
- item = btrfs_item_nr(eb, slot);
+ item = btrfs_item_nr(slot);
iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref);
for (cur = 0; cur < btrfs_item_size(eb, item); cur += len) {