io_uring: move LuringState typedef to block/aio.h
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 12 Jul 2021 13:10:10 +0000 (15:10 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 Jan 2024 09:43:14 +0000 (10:43 +0100)
commit3cbc17ee92479ff56d0d6afecc0def6f7ec01153
tree10d6c81f6a79473178de1a14a7df87a800d49205
parentaef158b093b9d67381f88468d39ac8dd62ae9e8b
io_uring: move LuringState typedef to block/aio.h

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
include/block/aio.h
include/block/raw-aio.h