]> Git Repo - qemu.git/blobdiff - block/vhdx-log.c
Merge remote-tracking branch 'remotes/kraxel/tags/vga-20191220-pull-request' into...
[qemu.git] / block / vhdx-log.c
index fdd3a7adc3782872c629633eb678d8f4de3f2f6b..13a49c2a33152e7d980c9c2685c8205a0e8685cb 100644 (file)
@@ -557,8 +557,8 @@ static int vhdx_log_flush(BlockDriverState *bs, BDRVVHDXState *s,
                     ret = -EINVAL;
                     goto exit;
                 }
-                ret = bdrv_truncate(bs->file, new_file_size, PREALLOC_MODE_OFF,
-                                    NULL);
+                ret = bdrv_truncate(bs->file, new_file_size, false,
+                                    PREALLOC_MODE_OFF, NULL);
                 if (ret < 0) {
                     goto exit;
                 }
This page took 0.024378 seconds and 4 git commands to generate.