]> Gentwo Git Trees - linux/.git/commit
io_uring/waitid: have io_waitid_complete() remove wait queue entry
authorJens Axboe <axboe@kernel.dk>
Thu, 9 Oct 2025 13:33:36 +0000 (07:33 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 20 Oct 2025 16:37:48 +0000 (10:37 -0600)
commita48c0cbf28c03f6c590a14ceb31bf6e619c2f6da
treeae3aa45018a3755a23ec2f271dfccca77af6ab75
parent7be20254a743be4f02414b9d56cc3fe5f84e6500
io_uring/waitid: have io_waitid_complete() remove wait queue entry

Both callers of this need the entry potentially removed, so shift the
removal into the completion side and kill it from the two callers.

While at it, add a helper for removing the wait_queue_entry based
on the passed in io_kiocb.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/waitid.c