commit | 0bdf7a2ddb7d8b28d1c9f505e7f32aa2972d461b | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sat Oct 10 18:34:10 2020 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Oct 10 12:49:25 2020 -0600 |
tree | bf6e2bb9fe69a8b4f240ef4fd0f67261d4326ff3 | |
parent | 71b547c048eb10d54627932019411549b1e4cfb7 [diff] |
io_uring: use a separate struct for timeout_remove Don't use struct io_timeout for both IORING_OP_TIMEOUT and IORING_OP_TIMEOUT_REMOVE, they're quite different. Split them in two, that allows to remove an unused field in struct io_timeout, and btw kill ->flags not used by either. This also easier to follow, especially for timeout remove. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>