diff --git a/fs/io_uring.c b/fs/io_uring.c index ab4c02f31b12175369ddf146bfb214b302df4cc1..2b1bfbc4d6675ea2ad1da673c32c8662ec0a7083 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -1948,7 +1948,7 @@ static int io_timeout(struct io_kiocb *req, const struct io_uring_sqe *sqe) * once there is some timeout req still be valid. */ if (ctx->cached_sq_head < nxt_sq_head) - tmp_nxt += UINT_MAX; + tmp += UINT_MAX; if (tmp >= tmp_nxt) break;