diff --git a/fs/io_uring.c b/fs/io_uring.c index d73a90d200c577598b9e6fdbf9551755043ff951..9a4261ed8a4aa120550ce5222049a1497bf865af 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -5641,7 +5641,7 @@ static inline void io_queue_link_head(struct io_kiocb *req) } static int io_submit_sqe(struct io_kiocb *req, const struct io_uring_sqe *sqe, - struct io_submit_state *state, struct io_kiocb **link) + struct io_kiocb **link) { struct io_ring_ctx *ctx = req->ctx; int ret; @@ -5905,7 +5905,7 @@ static int io_submit_sqes(struct io_ring_ctx *ctx, unsigned int nr, trace_io_uring_submit_sqe(ctx, req->opcode, req->user_data, true, async); - err = io_submit_sqe(req, sqe, statep, &link); + err = io_submit_sqe(req, sqe, &link); if (err) goto fail_req; }