io_uring: propagate locking state to poll cancel
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 16 Jun 2022 09:22:11 +0000 (10:22 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Jul 2022 14:44:16 +0000 (08:44 -0600)
commitbe52a96c7c43de11cf3b31e267f09e0d68249f44
tree54beebebaa133ccd32b2975e00e02cd726c637fd
parent394462e7adc84e0fe8744e84976e251668f52090
io_uring: propagate locking state to poll cancel

Poll cancellation will be soon need to grab ->uring_lock inside, pass
the locking state, i.e. issue_flags, inside the cancellation functions.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/b86781d047727c07163443b57551a3fa57c7c5e1.1655371007.git.asml.silence@gmail.com
Reviewed-by: Hao Xu <howeyxu@tencent.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/cancel.c
io_uring/cancel.h
io_uring/poll.c
io_uring/poll.h
io_uring/timeout.c