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)
commitecddc25d1355d0ce2b486a4991b826b6e87875a9
treeb4445351cd9727395b86f2141f243af37c0890eb
parent140e40e39a29c7dbc188d9b43831c3d5e089c960
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