summaryrefslogtreecommitdiffstats
path: root/kernel/task_work.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-08-13 01:33:30 +0200
committerJens Axboe <axboe@kernel.dk>2020-08-13 01:33:30 +0200
commitf254ac04c8744cf7bfed012717eac34eacc65dfb (patch)
tree5c0464925bbdd244c195aef3981b1c9fff11702a /kernel/task_work.c
parentio_uring: fail poll arm on queue proc failure (diff)
downloadlinux-f254ac04c8744cf7bfed012717eac34eacc65dfb.tar.xz
linux-f254ac04c8744cf7bfed012717eac34eacc65dfb.zip
io_uring: enable lookup of links holding inflight files
When a process exits, we cancel whatever requests it has pending that are referencing the file table. However, if a link is holding a reference, then we cannot find it by simply looking at the inflight list. Enable checking of the poll and timeout list to find the link, and cancel it appropriately. Cc: stable@vger.kernel.org Reported-by: Josef <josef.grieb@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/task_work.c')
0 files changed, 0 insertions, 0 deletions