Skip to content
Commit 4e906702 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: always use req->buf_index for the provided buffer group



The read/write opcodes use it already, but the recv/recvmsg do not. If
we switch them over and read and validate this at init time while we're
checking if the opcode supports it anyway, then we can do it in one spot
and we don't have to pass in a separate group ID for io_buffer_select().

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent bb68d504
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment