]> Git Repo - qemu.git/commitdiff
block-backend: fix blk_co_flush prototype to mention coroutine_fn
authorVladimir Sementsov-Ogievskiy <[email protected]>
Thu, 7 Oct 2021 17:52:42 +0000 (19:52 +0200)
committerEric Blake <[email protected]>
Fri, 15 Oct 2021 21:01:06 +0000 (16:01 -0500)
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 <[email protected]>
Message-Id: <20211007175243[email protected]>
Reviewed-by: Eric Blake <[email protected]>
[eblake: wording tweak]
Signed-off-by: Eric Blake <[email protected]>
include/sysemu/block-backend.h

index b5409a6b45536ab644e0f31c954968a72ef2ab8a..3fbc74e17cb43d42406fbce7a4f0343cc8f12241 100644 (file)
@@ -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);
This page took 0.030696 seconds and 4 git commands to generate.