qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 08/26] file-posix: add missing coroutine_fn annotations


From: Eric Blake
Subject: Re: [PATCH 08/26] file-posix: add missing coroutine_fn annotations
Date: Tue, 19 Apr 2022 14:30:45 -0500
User-agent: NeoMutt/20211029-35-db88c3

On Fri, Apr 15, 2022 at 03:18:42PM +0200, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  block/file-posix.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Eric Blake <eblake@redhat.com>

> 
> diff --git a/block/file-posix.c b/block/file-posix.c
> index bfd9b21111..cf7b5531c8 100644
> --- a/block/file-posix.c
> +++ b/block/file-posix.c
> @@ -2143,7 +2143,7 @@ static void raw_aio_unplug(BlockDriverState *bs)
>  #endif
>  }
>  
> -static int raw_co_flush_to_disk(BlockDriverState *bs)
> +static int coroutine_fn raw_co_flush_to_disk(BlockDriverState *bs)
>  {
>      BDRVRawState *s = bs->opaque;
>      RawPosixAIOData acb;
> -- 
> 2.35.1
> 
> 
> 

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]