diff options
author | Jinhao Fan <fanjinhao21s@ict.ac.cn> | 2022-07-21 14:56:45 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2022-08-02 11:01:24 +0200 |
commit | 77e3f038af1764983087e3551a0fde9951952c4d (patch) | |
tree | 35a8df25fe6d9bd12cae90fc9dacdc0c67bf6007 /block | |
parent | 60205b71421cbc529ca60b12c79e0eeace007319 (diff) |
block/io_uring: add missing include file
The commit "Use io_uring_register_ring_fd() to skip fd operations" uses
warn_report but did not include the header file "qemu/error-report.h".
This causes "error: implicit declaration of function ‘warn_report’".
Include this header file.
Fixes: e2848bc574 ("Use io_uring_register_ring_fd() to skip fd operations")
Signed-off-by: Jinhao Fan <fanjinhao21s@ict.ac.cn>
Message-Id: <20220721065645.577404-1-fanjinhao21s@ict.ac.cn>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/io_uring.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/io_uring.c b/block/io_uring.c index f8a19fd97f..a1760152e0 100644 --- a/block/io_uring.c +++ b/block/io_uring.c @@ -11,6 +11,7 @@ #include "qemu/osdep.h" #include <liburing.h> #include "block/aio.h" +#include "qemu/error-report.h" #include "qemu/queue.h" #include "block/block.h" #include "block/raw-aio.h" |