Skip to content

Commit 57768ec

Browse files
Vladimir Sementsov-Ogievskiyebblake
authored andcommitted
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 <[email protected]> Message-Id: <[email protected]> Reviewed-by: Eric Blake <[email protected]> [eblake: wording tweak] Signed-off-by: Eric Blake <[email protected]>
1 parent aa78b82 commit 57768ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/sysemu/block-backend.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ BlockAIOCB *blk_aio_ioctl(BlockBackend *blk, unsigned long int req, void *buf,
183183
BlockCompletionFunc *cb, void *opaque);
184184
int coroutine_fn blk_co_pdiscard(BlockBackend *blk, int64_t offset,
185185
int64_t bytes);
186-
int blk_co_flush(BlockBackend *blk);
186+
int coroutine_fn blk_co_flush(BlockBackend *blk);
187187
int blk_flush(BlockBackend *blk);
188188
int blk_commit_all(void);
189189
void blk_inc_in_flight(BlockBackend *blk);

0 commit comments

Comments
 (0)