summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorAlberto Faria2022-10-13 14:36:49 +0200
committerKevin Wolf2022-10-27 20:14:11 +0200
commit7c85803c496744c30d070a37be2faf2070d417d3 (patch)
tree3e2c622392167ff8bef72df7adbefc69f21404aa /block
parentbackup: remove incorrect coroutine_fn annotation (diff)
downloadqemu-7c85803c496744c30d070a37be2faf2070d417d3.tar.gz
qemu-7c85803c496744c30d070a37be2faf2070d417d3.tar.xz
qemu-7c85803c496744c30d070a37be2faf2070d417d3.zip
block: remove incorrect coroutine_fn annotation
Signed-off-by: Alberto Faria <afaria@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20221013123711.620631-3-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 d30073036e..236b12da2a 100644
--- a/block/io.c
+++ b/block/io.c
@@ -2739,8 +2739,8 @@ int coroutine_fn bdrv_co_is_zero_fast(BlockDriverState *bs, int64_t offset,
return (pnum == bytes) && (ret & BDRV_BLOCK_ZERO);
}
-int coroutine_fn bdrv_is_allocated(BlockDriverState *bs, int64_t offset,
- int64_t bytes, int64_t *pnum)
+int bdrv_is_allocated(BlockDriverState *bs, int64_t offset, int64_t bytes,
+ int64_t *pnum)
{
int ret;
int64_t dummy;