diff options
author | David Howells <dhowells@redhat.com> | 2020-10-27 10:39:04 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-10-27 23:05:56 +0100 |
commit | 06a17bbe1d47fec6232505c355b367797f6a635c (patch) | |
tree | ed4d1116d151955bd47556db38f86cb7bb751075 /kernel/livepatch | |
parent | Linux 5.10-rc1 (diff) | |
download | linux-06a17bbe1d47fec6232505c355b367797f6a635c.tar.xz linux-06a17bbe1d47fec6232505c355b367797f6a635c.zip |
afs: Fix copy_file_range()
The prevention of splice-write without explicit ops made the
copy_file_write() syscall to an afs file (as done by the generic/112
xfstest) fail with EINVAL.
Fix by using iter_file_splice_write() for afs.
Fixes: 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops")
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel/livepatch')
0 files changed, 0 insertions, 0 deletions