diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-05-20 02:31:37 +0300 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-05-20 19:26:48 +0300 |
commit | 79025e727a846be6fd215ae9cdb654368ac3f9a6 (patch) | |
tree | c192b8f8575a827b88853c72f465918da4eba61e /arch/xtensa | |
parent | 22b0a222af4df8ee9bb8e07013ab44da9511b047 (diff) | |
download | linux-79025e727a846be6fd215ae9cdb654368ac3f9a6.tar.xz |
random: wire up fops->splice_{read,write}_iter()
Now that random/urandom is using {read,write}_iter, we can wire it up to
using the generic splice handlers.
Fixes: 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
[Jason: added the splice_write path. Note that sendfile() and such still
does not work for read, though it does for write, because of a file
type restriction in splice_direct_to_actor(), which I'll address
separately.]
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions