[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] io_uring: move LuringState typedef to block/aio.h
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH] io_uring: move LuringState typedef to block/aio.h |
Date: |
Mon, 12 Jul 2021 14:38:41 +0100 |
On Mon, Jul 12, 2021 at 03:10:30PM +0200, Paolo Bonzini wrote:
> The LuringState typedef is defined twice, in include/block/raw-aio.h and
> block/io_uring.c. Move it in include/block/aio.h, which is included
> everywhere the typedef is needed, since include/block/aio.h already has
> to define the forward reference to the struct.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> block/io_uring.c | 4 ++--
> include/block/aio.h | 8 ++++----
> include/block/raw-aio.h | 1 -
> 3 files changed, 6 insertions(+), 7 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature