commit | 2a2758f26df519fab011f49d53440382dda8e1a5 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Jun 17 18:14:00 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jun 18 09:22:02 2021 -0600 |
tree | ef0d270db9529e6edfd4db618d70cabe4c202ef7 | |
parent | e6ab8991c5d0b0deae0961dc22c0edd1dee328f5 [diff] |
io_uring: refactor io_submit_flush_completions() struct io_comp_state is always contained in struct io_ring_ctx, don't pass them into io_submit_flush_completions() separately, it makes the interface cleaner and simplifies it for the compiler. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/44d6ca57003a82484338e95197024dbd65a1b376.1623949695.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>