alloc track: use coroutine version of bdrv_pwrite_zeroes
as we're in a coroutine here too Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
76e464784e
commit
0a88214b72
@ -226,7 +226,7 @@ index 0000000000..b579380279
|
|||||||
+static int coroutine_fn track_co_pwrite_zeroes(BlockDriverState *bs,
|
+static int coroutine_fn track_co_pwrite_zeroes(BlockDriverState *bs,
|
||||||
+ int64_t offset, int count, BdrvRequestFlags flags)
|
+ int64_t offset, int count, BdrvRequestFlags flags)
|
||||||
+{
|
+{
|
||||||
+ return bdrv_pwrite_zeroes(bs->file, offset, count, flags);
|
+ return bdrv_co_pwrite_zeroes(bs->file, offset, count, flags);
|
||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
+static int coroutine_fn track_co_pdiscard(BlockDriverState *bs,
|
+static int coroutine_fn track_co_pdiscard(BlockDriverState *bs,
|
||||||
|
Loading…
Reference in New Issue
Block a user