Jens Axboe 8a378fb096 io_uring: ensure io-wq context is always destroyed for tasks
If the task ends up doing no IO, the context list is empty and we don't
call into __io_uring_files_cancel() when the task exits. This can cause
a leak of the io-wq structures.

Ensure we always call __io_uring_files_cancel(), even if the task
context list is empty.

Fixes: 5aa75ed5b93f ("io_uring: tie async worker side to the task context")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-02-23 20:33:36 -07:00
..
2021-02-21 14:10:36 -08:00
2020-12-16 13:42:26 -08:00
2020-12-16 13:34:31 -08:00
2021-02-20 18:42:28 -08:00
2021-02-17 21:16:27 +01:00
2021-02-21 13:31:43 -08:00