projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
533ab73
)
io_uring: undeprecate epoll_ctl support
author
Ben Noordhuis
<info@bnoordhuis.nl>
Sat, 6 May 2023 09:55:02 +0000
(11:55 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Sat, 27 May 2023 02:22:41 +0000
(20:22 -0600)
Libuv recently started using it so there is at least one consumer now.
Cc: stable@vger.kernel.org
Fixes: 61a2732af4b0 ("io_uring: deprecate epoll_ctl support")
Link:
https://github.com/libuv/libuv/pull/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>
io_uring/epoll.c
patch
|
blob
|
history
diff --git
a/io_uring/epoll.c
b/io_uring/epoll.c
index 9aa74d2c80bc4eefa4d975b829d3b6fb080d33f2..89bff2068a190950014755969355386a122a1227 100644
(file)
--- a/
io_uring/epoll.c
+++ b/
io_uring/epoll.c
@@
-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;