qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] io_uring: move LuringState typedef to block/aio.h


From: Stefano Garzarella
Subject: Re: [PATCH] io_uring: move LuringState typedef to block/aio.h
Date: Tue, 20 Jul 2021 10:29:51 +0200

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: Stefano Garzarella <sgarzare@redhat.com>




reply via email to

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