io_uring: allow timeout/poll/files killing to take task into account
authorJens Axboe <axboe@kernel.dk>
Tue, 22 Sep 2020 14:18:24 +0000 (08:18 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 Nov 2020 11:45:34 +0000 (12:45 +0100)
commitcecf78cc08906890fe03e2517254c32a2d6a7d33
treee87f8037041d6d4ae7fd7090490cd359da13209c
parent07463d7da99985d8254f6e5c66cd9843037a9bbd
io_uring: allow timeout/poll/files killing to take task into account

commit f3606e3a92ddd36299642c78592fc87609abb1f6 upstream.

We currently cancel these when the ring exits, and we cancel all of
them. This is in preparation for killing only the ones associated
with a given task.

Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/io_uring.c