]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: make timeout prep handlers consistent with other prep handlers
authorJens Axboe <axboe@kernel.dk>
Mon, 23 May 2022 22:13:56 +0000 (16:13 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 25 May 2022 11:36:54 +0000 (05:36 -0600)
commitbb7a9f0e354c91a82417c87d25f858581eea5ecf
treeb4445351cd9727395b86f2141f243af37c0890eb
parent87bc273bfe6da78c1a5c6157c37701a057b58ff2
io_uring: make timeout prep handlers consistent with other prep handlers

All other opcodes take a {req, sqe} set for prep handling, split out
a timeout prep handler so that timeout and linked timeouts can use
the same one.

Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c