io_uring: always progress task_work on task cancel
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 20 Dec 2020 13:21:43 +0000 (13:21 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 20 Dec 2020 18:05:39 +0000 (11:05 -0700)
commit55583d72e2303638d30dd4a7aabef59ffa0a017a
treef435b2d324235ad2d08aa9dbdacde0a53d7724b2
parent446bc1c207331080d8c711a4456799b7d0b9df26
io_uring: always progress task_work on task cancel

Might happen that __io_uring_cancel_task_requests() cancels nothing but
there are task_works pending. We need to always run them.

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