]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: if we see flush on exit, cancel related tasks
authorJens Axboe <axboe@kernel.dk>
Sat, 23 Jan 2021 22:51:11 +0000 (15:51 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jan 2021 01:13:56 +0000 (18:13 -0700)
commit60fc93b9b1a15c3deddafd9bae82b6e9cb1f4ca6
tree4bad45289f957d8a7fd2feb281adad8cde6c0538
parentbb30d010fcc33a6e59b2b501e4ba1a6982895115
io_uring: if we see flush on exit, cancel related tasks

Ensure we match tasks that belong to a dead or dying task as well, as we
need to reap those in addition to those belonging to the exiting task.

Cc: stable@vger.kernel.org # 5.9+
Reported-by: Josef Grieb <josef.grieb@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c