btrfs-progs: image: remove unused argument from copy_log_trees

Signed-off-by: David Sterba <dsterba@suse.com>
master
David Sterba 2017-02-09 17:42:02 +01:00
parent d9d9314e12
commit aac75c603c
1 changed files with 2 additions and 3 deletions

View File

@ -1129,8 +1129,7 @@ static int copy_tree_blocks(struct btrfs_root *root, struct extent_buffer *eb,
}
static int copy_log_trees(struct btrfs_root *root,
struct metadump_struct *metadump,
struct btrfs_path *path)
struct metadump_struct *metadump)
{
u64 blocknr = btrfs_super_log_root(root->fs_info->super_copy);
@ -1375,7 +1374,7 @@ static int create_metadump(const char *input, FILE *out, int num_threads,
}
}
ret = copy_log_trees(root, &metadump, &path);
ret = copy_log_trees(root, &metadump);
if (ret) {
err = ret;
goto out;