aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2021-08-24 11:38:56 +0300
committerHanna Reitz <hreitz@redhat.com>2021-09-01 14:38:08 +0200
commitabde8ac2a506bbcfedb819d4c43ea1e3ac20cc87 (patch)
tree08e2ca0b531d5326aa18bf7a13885bfebe59c961 /include
parentc0605985696a19ef034fa25d04f53f3b3b383896 (diff)
block/block-copy: block_copy_state_new(): drop extra arguments
The only caller pass copy_range and compress both false. Let's just drop these arguments. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20210824083856.17408-35-vsementsov@virtuozzo.com> Reviewed-by: Hanna Reitz <hreitz@redhat.com> Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/block/block-copy.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/block/block-copy.h b/include/block/block-copy.h
index b8a2d63545..99370fa38b 100644
--- a/include/block/block-copy.h
+++ b/include/block/block-copy.h
@@ -25,7 +25,6 @@ typedef struct BlockCopyState BlockCopyState;
typedef struct BlockCopyCallState BlockCopyCallState;
BlockCopyState *block_copy_state_new(BdrvChild *source, BdrvChild *target,
- bool use_copy_range, bool compress,
Error **errp);
/* Function should be called prior any actual copy request */