diff options
Diffstat (limited to 'io_uring/epoll.c')
-rw-r--r-- | io_uring/epoll.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/io_uring/epoll.c b/io_uring/epoll.c index acbb32498127..10853e8ed078 100644 --- a/io_uring/epoll.c +++ b/io_uring/epoll.c @@ -26,6 +26,10 @@ int io_epoll_ctl_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) { struct io_epoll *epoll = io_kiocb_to_cmd(req); + 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; |