diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-10-22 23:15:51 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-22 23:15:51 +0300 |
commit | ee6e00c868221f5f7d0b6eb4e8379a148e26bc20 (patch) | |
tree | 9c35381d870a6fb2d147ded522d564cc96210e03 /fs/hostfs | |
parent | 4017eb91a9e79bbb5d14868c207436f4a6a0af50 (diff) | |
download | linux-ee6e00c868221f5f7d0b6eb4e8379a148e26bc20.tar.xz |
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: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/hostfs')
0 files changed, 0 insertions, 0 deletions