aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorAlberto Faria <afaria@redhat.com>2022-10-13 14:37:02 +0200
committerKevin Wolf <kwolf@redhat.com>2022-10-27 20:14:11 +0200
commitce47ff20b9f3c05b2b371539bedc437c531c0beb (patch)
treeba941e3d0dd9e6be92c4b354ceb12c02e272e8b9 /block
parenta06678874bf6ed4f437b384749c704e21a4e61b9 (diff)
downloadqemu-ce47ff20b9f3c05b2b371539bedc437c531c0beb.zip
qemu-ce47ff20b9f3c05b2b371539bedc437c531c0beb.tar.gz
qemu-ce47ff20b9f3c05b2b371539bedc437c531c0beb.tar.bz2
block: switch to *_co_* functions
Signed-off-by: Alberto Faria <afaria@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20221013123711.620631-16-pbonzini@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
-rw-r--r--block/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/io.c b/block/io.c
index 236b12d..5518a9d 100644
--- a/block/io.c
+++ b/block/io.c
@@ -2729,8 +2729,8 @@ int coroutine_fn bdrv_co_is_zero_fast(BlockDriverState *bs, int64_t offset,
return 1;
}
- ret = bdrv_common_block_status_above(bs, NULL, false, false, offset,
- bytes, &pnum, NULL, NULL, NULL);
+ ret = bdrv_co_common_block_status_above(bs, NULL, false, false, offset,
+ bytes, &pnum, NULL, NULL, NULL);
if (ret < 0) {
return ret;