[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 10/24] blkdebug: add missing coroutine_fn annotation for indirect
From: |
Paolo Bonzini |
Subject: |
[PATCH 10/24] blkdebug: add missing coroutine_fn annotation for indirect-called functions |
Date: |
Thu, 13 Oct 2022 14:36:57 +0200 |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
block/blkdebug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/blkdebug.c b/block/blkdebug.c
index bbf2948703..b159a9b825 100644
--- a/block/blkdebug.c
+++ b/block/blkdebug.c
@@ -672,7 +672,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);
--
2.37.3
- [PATCH 00/24] More coroutine_fn fixes, Paolo Bonzini, 2022/10/13
- [PATCH 01/24] backup: remove incorrect coroutine_fn annotation, Paolo Bonzini, 2022/10/13
- [PATCH 03/24] monitor: add missing coroutine_fn annotation, Paolo Bonzini, 2022/10/13
- [PATCH 02/24] block: remove incorrect coroutine_fn annotation, Paolo Bonzini, 2022/10/13
- [PATCH 04/24] ssh: add missing coroutine_fn annotation, Paolo Bonzini, 2022/10/13
- [PATCH 05/24] block: add missing coroutine_fn annotation to prototypes, Paolo Bonzini, 2022/10/13
- [PATCH 08/24] block: add missing coroutine_fn annotation to BlockDriverState callbacks, Paolo Bonzini, 2022/10/13
- [PATCH 06/24] coroutine-lock: add missing coroutine_fn annotation to prototypes, Paolo Bonzini, 2022/10/13
- [PATCH 07/24] coroutine-io: add missing coroutine_fn annotation to prototypes, Paolo Bonzini, 2022/10/13
- [PATCH 09/24] qcow2: add coroutine_fn annotation for indirect-called functions, Paolo Bonzini, 2022/10/13
- [PATCH 10/24] blkdebug: add missing coroutine_fn annotation for indirect-called functions,
Paolo Bonzini <=
- [PATCH 12/24] qcow2: manually add more coroutine_fn annotations, Paolo Bonzini, 2022/10/13
- [PATCH 15/24] block: switch to *_co_* functions, Paolo Bonzini, 2022/10/13
- [PATCH 13/24] vmdk: manually add more coroutine_fn annotations, Paolo Bonzini, 2022/10/13
- [PATCH 22/24] vhdx: switch to *_co_* functions, Paolo Bonzini, 2022/10/13
- [PATCH 14/24] commit: switch to *_co_* functions, Paolo Bonzini, 2022/10/13
- [PATCH 11/24] qcow: manually add more coroutine_fn annotations, Paolo Bonzini, 2022/10/13
- [PATCH 21/24] vdi: switch to *_co_* functions, Paolo Bonzini, 2022/10/13
- [PATCH 19/24] qcow2: switch to *_co_* functions, Paolo Bonzini, 2022/10/13
- [PATCH 24/24] monitor: switch to *_co_* functions, Paolo Bonzini, 2022/10/13