commit | 0463b6c58e557118d602b2f225fa3bbe9b6f3560 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sat Jan 18 21:35:38 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jan 20 17:04:07 2020 -0700 |
tree | 608fae52e14e8ab84fe6e745dcb7d391ba8a13d0 | |
parent | 6b47ee6ecab142f938a40bf3b297abac74218ee2 [diff] |
io_uring: use labeled array init in io_op_defs Don't rely on implicit ordering of IORING_OP_ and explicitly place them at a right place in io_op_defs. Now former comments are now a part of the code and won't ever outdate. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>