eventpoll: add helper to remove wait entry from wait queue head
authorJens Axboe <axboe@kernel.dk>
Fri, 31 Jan 2025 21:15:16 +0000 (14:15 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 6 Feb 2025 14:10:54 +0000 (07:10 -0700)
commit530b88ee3b7e30cbcedb7938cc034ce21df10061
tree8f0692a6b31eca3c4082c2d498bd1d015460f140
parent22fca3e57863d038bf8d571e1fe4a247ff612080
eventpoll: add helper to remove wait entry from wait queue head

__epoll_wait_remove() is the core helper, it kills a given
wait_queue_entry from the eventpoll wait_queue_head. Use it internally,
and provide an overall helper, epoll_wait_remove(), which takes a struct
file and provides the same functionality.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/eventpoll.c
include/linux/eventpoll.h