1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/kernel.h>
3 #include <linux/errno.h>
5 #include <linux/file.h>
6 #include <linux/io_uring.h>
8 #include <uapi/linux/io_uring.h>
13 int io_nop_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
19 * IORING_OP_NOP just posts a completion event, nothing else.
21 int io_nop(struct io_kiocb *req, unsigned int issue_flags)
23 io_req_set_res(req, 0, 0);