diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-10-22 14:14:12 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-22 14:14:12 -0600 |
commit | 4017eb91a9e79bbb5d14868c207436f4a6a0af50 (patch) | |
tree | 52b10b9be866ee66d241e0095747dc44b8314d2b /fs/splice.c | |
parent | c8fb20b5b4206e9206ea8f129aa4592ad15918bd (diff) |
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: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/splice.c')
0 files changed, 0 insertions, 0 deletions