forked from Mirrors/btrfs-progs
btrfs-progs: image: remove unused argument from copy_log_trees
Signed-off-by: David Sterba <dsterba@suse.com>master
parent
d9d9314e12
commit
aac75c603c
|
@ -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,
|
static int copy_log_trees(struct btrfs_root *root,
|
||||||
struct metadump_struct *metadump,
|
struct metadump_struct *metadump)
|
||||||
struct btrfs_path *path)
|
|
||||||
{
|
{
|
||||||
u64 blocknr = btrfs_super_log_root(root->fs_info->super_copy);
|
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) {
|
if (ret) {
|
||||||
err = ret;
|
err = ret;
|
||||||
goto out;
|
goto out;
|
||||||
|
|
Loading…
Reference in New Issue