diff --git a/fs/io_uring.c b/fs/io_uring.c index 8ac6a4200b8bb026be026a98a0e46d60063cad97..3c05b3e5803167d00d8c9fc0afd7650f6f6a3618 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -1782,6 +1782,9 @@ static int io_setup_async_rw(struct io_kiocb *req, ssize_t io_size, struct iovec *iovec, struct iovec *fast_iov, struct iov_iter *iter) { + if (req->opcode == IORING_OP_READ_FIXED || + req->opcode == IORING_OP_WRITE_FIXED) + return 0; if (!req->io && io_alloc_async_ctx(req)) return -ENOMEM;