diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-11-23 11:33:37 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-11-23 10:44:00 -0700 |
commit | e276ae344a770f91912a81c6a338d92efd319be2 (patch) | |
tree | 362f0c0671ea88f02b9a863f1983744e6c836fe9 /io_uring/timeout.c | |
parent | 2ccc92f4effcfa1c51c4fcf1e34d769099d3cad4 (diff) |
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