summaryrefslogtreecommitdiff
path: root/io_uring/timeout.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-11-23 14:33:37 +0300
committerJens Axboe <axboe@kernel.dk>2022-11-23 20:44:00 +0300
commite276ae344a770f91912a81c6a338d92efd319be2 (patch)
tree362f0c0671ea88f02b9a863f1983744e6c836fe9 /io_uring/timeout.c
parent2ccc92f4effcfa1c51c4fcf1e34d769099d3cad4 (diff)
downloadlinux-e276ae344a770f91912a81c6a338d92efd319be2.tar.xz
io_uring: hold locks for io_req_complete_failed
A preparation patch, make sure we always hold uring_lock around io_req_complete_failed(). The only place deviating from the rule is io_cancel_defer_files(), queue a tw instead. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/70760344eadaecf2939287084b9d4ba5c05a6984.1669203009.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/timeout.c')
0 files changed, 0 insertions, 0 deletions