aboutsummaryrefslogtreecommitdiff
path: root/block/preallocate.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/preallocate.c')
-rw-r--r--block/preallocate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/block/preallocate.c b/block/preallocate.c
index 5709443..c19885a 100644
--- a/block/preallocate.c
+++ b/block/preallocate.c
@@ -349,11 +349,11 @@ static int coroutine_fn preallocate_co_pwrite_zeroes(BlockDriverState *bs,
}
static coroutine_fn int preallocate_co_pwritev_part(BlockDriverState *bs,
- uint64_t offset,
- uint64_t bytes,
+ int64_t offset,
+ int64_t bytes,
QEMUIOVector *qiov,
size_t qiov_offset,
- int flags)
+ BdrvRequestFlags flags)
{
handle_write(bs, offset, bytes, false);