commit | fa4562280889ad372dfb1413833a8b8675721b17 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sun Oct 27 18:52:20 2019 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Oct 29 10:24:21 2019 -0600 |
tree | e6ede89d2964d4347e68b32df37999fc7f80957f | |
parent | c826bd7a743f275e2b68c16d595534063b400deb [diff] |
io_uring: remove index from sqe_submit submit->index is used only for inbound check in submission path (i.e. head < ctx->sq_entries). However, it always will be true, as 1. it's already validated by io_get_sqring() 2. ctx->sq_entries can't be changedd in between, because of held ctx->uring_lock and ctx->refs. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>