diff --git a/fs/io_uring.c b/fs/io_uring.c index ddd46ba4554320e565e0bbf48b9e6c8c37678b58..7d5142c30de12e75aee3d28b49f775dc52a0cb9c 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -1000,6 +1000,7 @@ static void io_kill_timeout(struct io_kiocb *req) if (ret != -1) { atomic_inc(&req->ctx->cq_timeouts); list_del_init(&req->list); + req->flags |= REQ_F_COMP_LOCKED; io_cqring_fill_event(req, 0); io_put_req(req); }