Fixed address prep helpers should include buf_index

io_uring depends on the caller specifying the index into the array
of registered buffers for doing pre-mapped IO. Make this explicit
by requiring the caller to pass in this value for the
io_uring_prep_read_fixed() and io_uring_prep_write_fixed() helpers.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 file changed