diff --git a/fs/io_uring.c b/fs/io_uring.c index 3e223d0cd26bcef53b4eda0be2bcf0b789557537..b96dc17afd753cfb9b6a8cd86d73ed97e73c4417 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -3078,10 +3078,6 @@ static void io_submit_sqe(struct io_kiocb *req, struct io_submit_state *state, INIT_LIST_HEAD(&req->link_list); *link = req; - } else if (READ_ONCE(s->sqe->opcode) == IORING_OP_LINK_TIMEOUT) { - /* Only valid as a linked SQE */ - ret = -EINVAL; - goto err_req; } else { io_queue_sqe(req); }