diff --git a/fs/io_uring.c b/fs/io_uring.c index 4f7a1cad17f6d93abee621144cb35330525e7108..6817a1e6c8dd1a311fb8bd32d8ece31517790e86 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -2483,7 +2483,7 @@ static int io_async_cancel(struct io_kiocb *req, const struct io_uring_sqe *sqe, sqe->cancel_flags) return -EINVAL; - io_async_find_and_cancel(ctx, req, READ_ONCE(sqe->addr), NULL); + io_async_find_and_cancel(ctx, req, READ_ONCE(sqe->addr), nxt); return 0; }