diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2021-10-07 19:52:42 +0200 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2021-10-15 16:01:06 -0500 |
commit | 57768ec166493260494b76a2fa9fea980ca30e18 (patch) | |
tree | aa6f548ee68f93bca4bce78eda97f671e9b7877b /include/sysemu/block-backend.h | |
parent | aa78b825162163d2c51903490d67c10a689eac6b (diff) | |
download | qemu-57768ec166493260494b76a2fa9fea980ca30e18.zip qemu-57768ec166493260494b76a2fa9fea980ca30e18.tar.gz qemu-57768ec166493260494b76a2fa9fea980ca30e18.tar.bz2 |
block-backend: fix blk_co_flush prototype to mention coroutine_fn
We already have this marker for the blk_co_flush function declaration in
block/block-backend.c. Add it in the header too.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20211007175243.642516-1-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: wording tweak]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/sysemu/block-backend.h')
-rw-r--r-- | include/sysemu/block-backend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sysemu/block-backend.h b/include/sysemu/block-backend.h index b5409a6..3fbc74e 100644 --- a/include/sysemu/block-backend.h +++ b/include/sysemu/block-backend.h @@ -183,7 +183,7 @@ BlockAIOCB *blk_aio_ioctl(BlockBackend *blk, unsigned long int req, void *buf, BlockCompletionFunc *cb, void *opaque); int coroutine_fn blk_co_pdiscard(BlockBackend *blk, int64_t offset, int64_t bytes); -int blk_co_flush(BlockBackend *blk); +int coroutine_fn blk_co_flush(BlockBackend *blk); int blk_flush(BlockBackend *blk); int blk_commit_all(void); void blk_inc_in_flight(BlockBackend *blk); |