summaryrefslogtreecommitdiff
path: root/fs/io-wq.h
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2019-10-27 18:52:20 +0300
committerJens Axboe <axboe@kernel.dk>2019-10-29 10:24:21 -0600
commitfa4562280889ad372dfb1413833a8b8675721b17 (patch)
treee6ede89d2964d4347e68b32df37999fc7f80957f /fs/io-wq.h
parentc826bd7a743f275e2b68c16d595534063b400deb (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>
Diffstat (limited to 'fs/io-wq.h')
0 files changed, 0 insertions, 0 deletions