diff options
author | Ross Kirk <ross.kirk@gmail.com> | 2013-09-16 16:58:09 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-11-12 03:50:48 +0100 |
commit | dd3cc16b8750251ea9b1a843ce7806e82b015d5e (patch) | |
tree | 9cb6e2d093ff52dffaa09b7474e805152691a541 /fs/btrfs/send.c | |
parent | Btrfs: don't store NULL byte in symlink extents (diff) | |
download | linux-dd3cc16b8750251ea9b1a843ce7806e82b015d5e.tar.xz 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 '')
-rw-r--r-- | fs/btrfs/send.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c index e46e0ed74925..0a894399be16 100644 --- a/fs/btrfs/send.c +++ b/fs/btrfs/send.c @@ -791,7 +791,7 @@ static int iterate_inode_ref(struct btrfs_root *root, struct btrfs_path *path, if (found_key->type == BTRFS_INODE_REF_KEY) { ptr = (unsigned long)btrfs_item_ptr(eb, slot, struct btrfs_inode_ref); - item = btrfs_item_nr(eb, slot); + item = btrfs_item_nr(slot); total = btrfs_item_size(eb, item); elem_size = sizeof(*iref); } else { @@ -905,7 +905,7 @@ static int iterate_dir_item(struct btrfs_root *root, struct btrfs_path *path, eb = path->nodes[0]; slot = path->slots[0]; - item = btrfs_item_nr(eb, slot); + item = btrfs_item_nr(slot); di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); cur = 0; len = 0; |