diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-11-05 23:31:37 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-11-05 23:36:40 +0100 |
commit | 9a472ef7a3690ac0b77ebfb04c88fa795de2adea (patch) | |
tree | 52601c2f161cccd8057364f971a070a03211d023 /fs/mbcache.c | |
parent | io_uring: use correct pointer for io_uring_show_cred() (diff) | |
download | linux-9a472ef7a3690ac0b77ebfb04c88fa795de2adea.tar.xz linux-9a472ef7a3690ac0b77ebfb04c88fa795de2adea.zip |
io_uring: fix link lookup racing with link timeout
We can't just go over linked requests because it may race with linked
timeouts. Take ctx->completion_lock in that case.
Cc: stable@vger.kernel.org # v5.7+
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions