diff options
| author | Jens Axboe <axboe@kernel.dk> | 2026-05-14 17:07:20 +0300 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-05-15 18:34:26 +0300 |
| commit | 463aba8090738bcd956297f7341b6874e76ae664 (patch) | |
| tree | ab53c6b02c49093c2bb9f237f543558a2439c23d /include/linux | |
| parent | 0995baf261ce8fc141768911d97ba76e854e26cf (diff) | |
| download | linux-463aba8090738bcd956297f7341b6874e76ae664.tar.xz | |
eventpoll: rename struct epoll_filefd to epoll_key
This more accurately describes what purpose this structure serves, as
a lookup key.
Suggested-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Link: https://patch.msgid.link/20260514140817.623026-5-axboe@kernel.dk
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/eventpoll.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/eventpoll.h b/include/linux/eventpoll.h index 4a6fe989810b..c214c374fefc 100644 --- a/include/linux/eventpoll.h +++ b/include/linux/eventpoll.h @@ -61,12 +61,12 @@ static inline void eventpoll_release(struct file *file) eventpoll_release_file(file); } -struct epoll_filefd { +struct epoll_key { struct file *file; int fd; } __packed; -int do_epoll_ctl_file(struct file *f, int op, struct epoll_filefd *tf, +int do_epoll_ctl_file(struct file *f, int op, struct epoll_key *tf, struct epoll_event *epds, bool nonblock); int do_epoll_ctl(int epfd, int op, int fd, struct epoll_event *epds, bool nonblock); |
