]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
eventpoll: pass struct epoll_filefd through ep_find() and ep_insert()
authorJens Axboe <axboe@kernel.dk>
Thu, 14 May 2026 14:07:17 +0000 (08:07 -0600)
committerChristian Brauner <brauner@kernel.org>
Fri, 15 May 2026 15:34:26 +0000 (17:34 +0200)
commit9caef5b2a1fc22c2e24159a3d0fd74a47aed94ab
treea2aeae89b95d33785d083e6728bab1d39b8f4ffd
parent254f49634ee16a731174d2ae34bc50bd5f45e731
eventpoll: pass struct epoll_filefd through ep_find() and ep_insert()

Have ep_find() and ep_insert() take a struct epoll_filefd rather
than a file/fd tuple. Kill off ep_set_ffd() as it's now no longer
needed.

No functional change. This is a prep patch for adding a file based
do_epoll_ctl() variant.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Link: https://patch.msgid.link/20260514140817.623026-2-axboe@kernel.dk
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/eventpoll.c