diff options
author | Paolo Bonzini | 2022-10-13 14:36:57 +0200 |
---|---|---|
committer | Kevin Wolf | 2022-10-27 20:14:11 +0200 |
commit | f72b38b67e49e1460c6a2dffd4ee97c0155347eb (patch) | |
tree | 743ebd07daea6cdbf97472507512b9e3d77c377d /block | |
parent | qcow2: add coroutine_fn annotation for indirect-called functions (diff) | |
download | qemu-f72b38b67e49e1460c6a2dffd4ee97c0155347eb.tar.gz qemu-f72b38b67e49e1460c6a2dffd4ee97c0155347eb.tar.xz qemu-f72b38b67e49e1460c6a2dffd4ee97c0155347eb.zip |
blkdebug: add missing coroutine_fn annotation for indirect-called functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221013123711.620631-11-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/blkdebug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blkdebug.c b/block/blkdebug.c index 5fcfc8ac6f..4265ca125e 100644 --- a/block/blkdebug.c +++ b/block/blkdebug.c @@ -669,7 +669,7 @@ blkdebug_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, return bdrv_co_pwritev(bs->file, offset, bytes, qiov, flags); } -static int blkdebug_co_flush(BlockDriverState *bs) +static int coroutine_fn blkdebug_co_flush(BlockDriverState *bs) { int err = rule_check(bs, 0, 0, BLKDEBUG_IO_TYPE_FLUSH); |