Commit f6cb85d0 authored by Al Viro's avatar Al Viro

shmem: switch to iter_file_splice_write()

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 4da54c21
...@@ -2623,7 +2623,7 @@ static const struct file_operations shmem_file_operations = { ...@@ -2623,7 +2623,7 @@ static const struct file_operations shmem_file_operations = {
.write_iter = generic_file_write_iter, .write_iter = generic_file_write_iter,
.fsync = noop_fsync, .fsync = noop_fsync,
.splice_read = shmem_file_splice_read, .splice_read = shmem_file_splice_read,
.splice_write = generic_file_splice_write, .splice_write = iter_file_splice_write,
.fallocate = shmem_fallocate, .fallocate = shmem_fallocate,
#endif #endif
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment