io_uring: end waiting before task cancel attempts
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 20 Dec 2020 13:21:44 +0000 (13:21 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 20 Dec 2020 18:05:39 +0000 (11:05 -0700)
commitf57555eda979ca085d2524db81e14b8a6089e15e
tree9263b1ae0949ff392bf515c42bff619b2b8fd503
parent55583d72e2303638d30dd4a7aabef59ffa0a017a
io_uring: end waiting before task cancel attempts

Get rid of TASK_UNINTERRUPTIBLE and waiting with finish_wait before
going for next iteration in __io_uring_task_cancel(), because
__io_uring_files_cancel() doesn't expect that sheduling is disallowed.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c