diff --git a/fs/io_uring.c b/fs/io_uring.c index 144056b0cac9..89f4e5e80b9e 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -6272,6 +6272,7 @@ static enum hrtimer_restart io_link_timeout_fn(struct hrtimer *timer) if (prev) { io_async_find_and_cancel(ctx, req, prev->user_data, -ETIME); io_put_req_deferred(prev, 1); + io_put_req_deferred(req, 1); } else { io_req_complete_post(req, -ETIME, 0); io_put_req_deferred(req, 1);