summaryrefslogtreecommitdiff
path: root/image/main.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-02-09 17:42:02 +0100
committerDavid Sterba <dsterba@suse.com>2017-03-08 13:00:48 +0100
commitaac75c603c8a22e9aeb1f0c1a2aae25c97d02940 (patch)
tree06aaad594e7097d02d6c9ada93a4e90f179f3b28 /image/main.c
parentd9d9314e12820bef1ac502ba6618d6f5be8707df (diff)
btrfs-progs: image: remove unused argument from copy_log_trees
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'image/main.c')
-rw-r--r--image/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/image/main.c b/image/main.c
index 1f761ad9..f1c28de1 100644
--- a/image/main.c
+++ b/image/main.c
@@ -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;