[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/9] blkdebug: add missing coroutine_fn annotation
From: |
Paolo Bonzini |
Subject: |
[PATCH 2/9] blkdebug: add missing coroutine_fn annotation |
Date: |
Thu, 9 Mar 2023 09:44:49 +0100 |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
block/blkdebug.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/block/blkdebug.c b/block/blkdebug.c
index 978c8cff9e33..addad914b3f7 100644
--- a/block/blkdebug.c
+++ b/block/blkdebug.c
@@ -583,8 +583,8 @@ out:
return ret;
}
-static int rule_check(BlockDriverState *bs, uint64_t offset, uint64_t bytes,
- BlkdebugIOType iotype)
+static int coroutine_fn rule_check(BlockDriverState *bs, uint64_t offset,
+ uint64_t bytes, BlkdebugIOType iotype)
{
BDRVBlkdebugState *s = bs->opaque;
BlkdebugRule *rule = NULL;
--
2.39.2
- [PATCH 0/9] (mostly) block: add more coroutine_fn annotations, use bdrv/blk_co_*, Paolo Bonzini, 2023/03/09
- [PATCH 2/9] blkdebug: add missing coroutine_fn annotation,
Paolo Bonzini <=
- [PATCH 1/9] vvfat: mark various functions as coroutine_fn, Paolo Bonzini, 2023/03/09
- [PATCH 3/9] mirror: make mirror_flush a coroutine_fn, do not use co_wrappers, Paolo Bonzini, 2023/03/09
- [PATCH 5/9] 9pfs: mark more coroutine_fns, Paolo Bonzini, 2023/03/09
- [PATCH 4/9] nbd: mark more coroutine_fns, do not use co_wrappers, Paolo Bonzini, 2023/03/09
- [PATCH 7/9] tests: mark more coroutine_fns, Paolo Bonzini, 2023/03/09
- [PATCH 6/9] qemu-pr-helper: mark more coroutine_fns, Paolo Bonzini, 2023/03/09
- [PATCH 9/9] vmdk: make vmdk_is_cid_valid a coroutine_fn, Paolo Bonzini, 2023/03/09
- [PATCH 8/9] qcow2: mark various functions as coroutine_fn and GRAPH_RDLOCK, Paolo Bonzini, 2023/03/09