diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-11-06 13:00:24 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-09 12:04:00 -0700 |
commit | b52fda00dd9df8b4a6de5784df94f9617f6133a1 (patch) | |
tree | 799ce6f580316ff1276001822b434eb54601b554 /fs/io-wq.h | |
parent | df9923f96717d0aebb0a73adbcf6285fa79e38cb (diff) |
io_uring: don't iterate io_uring_cancel_files()
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>
Diffstat (limited to 'fs/io-wq.h')
0 files changed, 0 insertions, 0 deletions