diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-03-01 18:20:45 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-04 06:38:03 -0700 |
commit | 64c7212391e778949aa3055fb3863439417ddba9 (patch) | |
tree | e072494598de799f3e67d8bb9c15644781e60b2f /fs/stat.c | |
parent | 3e6a0d3c7571ce3ed0d25c5c32543a54a7ebcd75 (diff) | |
download | linux-stable-64c7212391e778949aa3055fb3863439417ddba9.tar.gz linux-stable-64c7212391e778949aa3055fb3863439417ddba9.tar.bz2 linux-stable-64c7212391e778949aa3055fb3863439417ddba9.zip |
io_uring: choose right tctx->io_wq for try cancel
When we cancel SQPOLL, @task in io_uring_try_cancel_requests() will
differ from current. Use the right tctx from passed in @task, and don't
forget that it can be NULL when the io_uring ctx exits.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/stat.c')
0 files changed, 0 insertions, 0 deletions