diff --git a/fs/io_uring.c b/fs/io_uring.c index a459c126e554ed1960c1d322eae0a0f5d5f411d5..9bd53b4cde560775da8e053d73882d4de0249b48 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -2699,9 +2699,6 @@ static int io_timeout(struct io_kiocb *req, const struct io_uring_sqe *sqe) int ret; ret = io_timeout_setup(req); - /* common setup allows flags (like links) set, we don't */ - if (!ret && sqe->flags) - ret = -EINVAL; if (ret) return ret;