Skip to content
Snippets Groups Projects
Commit ee6e00c8 authored by Jens Axboe's avatar Jens Axboe
Browse files

splice: change exported internal do_splice() helper to take kernel offset


With the set_fs change, we can no longer rely on copy_{to,from}_user()
accepting a kernel pointer, and it was bad form to do so anyway. Clean
this up and change the internal helper that io_uring uses to deal with
kernel pointers instead. This puts the offset copy in/out in __do_splice()
instead, which just calls the same helper.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 4017eb91
No related branches found
No related tags found
1 merge request!312camera and mipi fixes wrt power management
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment