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

io_uring: ignore ->buf_index if REQ_F_BUFFER_SELECT isn't set



There's no point in validity checking buf_index if the request doesn't
have REQ_F_BUFFER_SELECT set, as we will never use it for that case.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent e5b00349
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment