diff options
author | Dylan Yudaken <dylany@meta.com> | 2022-10-27 17:44:29 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-10-27 18:52:12 +0300 |
commit | b3026767e15b488860d4bbf1649d69612bab2c25 (patch) | |
tree | 0331f0cc2950f0b9c4bc0019fb87e2aa51b05ac9 /.clang-format | |
parent | 8de11cdc96bf58b324c59a28512eb9513fd02553 (diff) | |
download | linux-b3026767e15b488860d4bbf1649d69612bab2c25.tar.xz |
io_uring: unlock if __io_run_local_work locked inside
It is possible for tw to lock the ring, and this was not propogated out to
io_run_local_work. This can cause an unlock to be missed.
Instead pass a pointer to locked into __io_run_local_work.
Fixes: 8ac5d85a89b4 ("io_uring: add local task_work run helper that is entered locked")
Signed-off-by: Dylan Yudaken <dylany@meta.com>
Link: https://lore.kernel.org/r/20221027144429.3971400-3-dylany@meta.com
[axboe: WARN_ON() -> WARN_ON_ONCE() and add a minor comment]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions