io_uring: pass files into kill timeouts/poll
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 9 Feb 2021 04:47:38 +0000 (04:47 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Feb 2021 12:54:55 +0000 (13:54 +0100)
commitf8fbdbb6079314f5f4076303cb0552f815a47aa0
treecb643ee2ad614797ff3daf491b48b91d12d09988
parent49250f33bb436a29387f80cc64d1f40eba1ae19e
io_uring: pass files into kill timeouts/poll

[ Upstream commit 6b81928d4ca8668513251f9c04cdcb9d38ef51c7 ]

Make io_poll_remove_all() and io_kill_timeouts() to match against files
as well. A preparation patch, effectively not used by now.

Signed-off-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