summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/backref.c
diff options
context:
space:
mode:
authorRoss Kirk <ross.kirk@gmail.com>2013-09-16 15:58:09 +0100
committerChris Mason <chris.mason@fusionio.com>2013-11-11 21:50:48 -0500
commitdd3cc16b8750251ea9b1a843ce7806e82b015d5e (patch)
tree9cb6e2d093ff52dffaa09b7474e805152691a541 /fs/btrfs/backref.c
parentf06becc4119856c984e3beef54aa75538e656c6d (diff)
downloadblackbird-op-linux-dd3cc16b8750251ea9b1a843ce7806e82b015d5e.tar.gz
blackbird-op-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) {
OpenPOWER on IntegriCloud