io_uring: restructure io_timeout_cancel()
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 30 Nov 2020 19:11:15 +0000 (19:11 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 Dec 2020 19:04:01 +0000 (12:04 -0700)
commitfbd15848f3c13506253b6c5de0077a603947cb67
tree3deac9cefdb459fc9193bdaa612a6dfef8071d50
parentbee749b187ac57d1faf00b2ab356ff322230fce8
io_uring: restructure io_timeout_cancel()

Add io_timeout_extract() helper, which searches and disarms timeouts,
but doesn't complete them. No functional changes.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c