Skip to content

Commit

Permalink
blkdebug: add missing coroutine_fn annotation
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20230309084456.304669-3-pbonzini@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
  • Loading branch information
bonzini authored and kevmw committed Apr 25, 2023
1 parent eab76d5 commit 2f1fabd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions block/blkdebug.c
Original file line number Diff line number Diff line change
Expand Up @@ -583,8 +583,8 @@ static int blkdebug_open(BlockDriverState *bs, QDict *options, int flags,
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;
Expand Down

0 comments on commit 2f1fabd

Please sign in to comment.