io_uring/timeout: add helper for parsing user time
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 2 Mar 2026 13:10:35 +0000 (13:10 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Mar 2026 13:21:54 +0000 (07:21 -0600)
commit6e3f5943a49b1593921fd340ff1dffba851c2afd
treeb0f05ec5ee5e224fdaf756391dac612cb91bb62a
parent484ae637a3e3d909718de7c07afd3bb34b6b8504
io_uring/timeout: add helper for parsing user time

There is some duplication for timespec checks that can be deduplicated
with a new function, and it'll be extended in next patches.

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