commit | 49250f33bb436a29387f80cc64d1f40eba1ae19e | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Tue Feb 09 04:47:37 2021 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Feb 13 13:54:55 2021 +0100 |
tree | b76cefd65be90f17ec8c8df7f332ec2a67f2938b | |
parent | f6d93f855553b96d7b53ceddc0438d28de5b94df [diff] |
io_uring: don't iterate io_uring_cancel_files() [ Upstream commit b52fda00dd9df8b4a6de5784df94f9617f6133a1 ] io_uring_cancel_files() guarantees to cancel all matching requests, that's not necessary to do that in a loop. Move it up in the callchain into io_uring_cancel_task_requests(). 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>