Skip to content

Commit

Permalink
io_uring: undeprecate epoll_ctl support
Browse files Browse the repository at this point in the history
commit 4ea0bf4 upstream.

Libuv recently started using it so there is at least one consumer now.

Cc: stable@vger.kernel.org
Fixes: 61a2732 ("io_uring: deprecate epoll_ctl support")
Link: libuv/libuv#3979
Signed-off-by: Ben Noordhuis <info@bnoordhuis.nl>
Link: https://lore.kernel.org/r/20230506095502.13401-1-info@bnoordhuis.nl
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
bnoordhuis authored and gregkh committed Jun 9, 2023
1 parent 94f97b8 commit 6fb0b09
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions io_uring/epoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ int io_epoll_ctl_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
{
struct io_epoll *epoll = io_kiocb_to_cmd(req, struct io_epoll);

pr_warn_once("%s: epoll_ctl support in io_uring is deprecated and will "
"be removed in a future Linux kernel version.\n",
current->comm);

if (sqe->buf_index || sqe->splice_fd_in)
return -EINVAL;

Expand Down

0 comments on commit 6fb0b09

Please sign in to comment.