mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-16 00:34:32 +08:00
btrfs-progs: image: remove unused argument from copy_log_trees
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
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,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user