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>
Mon, 25 Jul 2022 00:39:13 +0000 (18:39 -0600)
commit5d7943d99df9326c7b02f773b2d6f09709c30594
treed296e5e886b8c924d8b8e098e04554f352806856
parente6f89be61410ff5a0e690d87d7a308e81f0f5a71
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