summaryrefslogtreecommitdiff
path: root/cmds-restore.c
diff options
context:
space:
mode:
authorRoss Kirk <ross.kirk@gmail.com>2013-09-20 10:55:26 +0100
committerChris Mason <chris.mason@fusionio.com>2013-10-16 08:23:10 -0400
commitaf86684e9b30fe1cefc70a789672d7dfc7368772 (patch)
tree62fd02a974e38d21c088ff5601e797e2e5bc2b20 /cmds-restore.c
parent7985fe64e0e290d6107bc4218920238928300010 (diff)
btrfs-progs: drop unused parameter from btrfs_item_nr
Remove unused eb parameter from btrfs_item_nr, unused since introduced in 7777e63b425f1444d2472ea05a6b2b9cf865f35b Signed-off-by: Ross Kirk <ross.kirk@gmail.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'cmds-restore.c')
-rw-r--r--cmds-restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-restore.c b/cmds-restore.c
index ceaa9b88..ae0527b6 100644
--- a/cmds-restore.c
+++ b/cmds-restore.c
@@ -229,7 +229,7 @@ static int copy_one_inline(int fd, struct btrfs_path *path, u64 pos)
struct btrfs_file_extent_item);
ptr = btrfs_file_extent_inline_start(fi);
len = btrfs_file_extent_inline_item_len(leaf,
- btrfs_item_nr(leaf, path->slots[0]));
+ btrfs_item_nr(path->slots[0]));
read_extent_buffer(leaf, buf, ptr, len);
compress = btrfs_file_extent_compression(leaf, fi);