diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c index 11c455b638a2..d306f566a944 100644 --- a/io_uring/io_uring.c +++ b/io_uring/io_uring.c @@ -2153,7 +2153,7 @@ static inline int io_submit_sqe(struct io_ring_ctx *ctx, struct io_kiocb *req, * conditions are true (normal request), then just queue it. */ if (unlikely(link->head)) { - trace_io_uring_link(req, link->head); + trace_io_uring_link(req, link->last); link->last->link = req; link->last = req;