summaryrefslogtreecommitdiffstats
path: root/fs/io-wq.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-08-18 11:50:52 +0200
committerJens Axboe <axboe@kernel.dk>2021-08-23 21:10:43 +0200
commitec3c3d0f3a271b5c7422449262970e7eb98f2126 (patch)
tree884db1e03b47cd6f42bb694e4fd4d76e123760b7 /fs/io-wq.c
parentio_uring: improve same wq polling (diff)
downloadlinux-ec3c3d0f3a271b5c7422449262970e7eb98f2126.tar.xz
linux-ec3c3d0f3a271b5c7422449262970e7eb98f2126.zip
io_uring: fix io_timeout_remove locking
io_timeout_cancel() posts CQEs so needs ->completion_lock to be held, so grab it in io_timeout_remove(). Fixes: 48ecb6369f1f2 ("io_uring: run timeouts from task_work") Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/d6f03d653a4d7bf693ef6f39b6a426b6d97fd96f.1629280204.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.c')
0 files changed, 0 insertions, 0 deletions