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

io_uring: make loop_rw_iter() use original user supplied pointers



We jump through a hoop for fixed buffers, where we first map these to
a bvec(), then kmap() the bvec to obtain the pointer we copy to/from.
This was always a bit ugly, and with the set_fs changes, it ends up
being practically problematic as well.

There's no need to jump through these hoops, just use the original user
pointers and length for the non iter based read/write.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent c8fb20b5
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