shmem: switch to iter_file_splice_write()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 5 Apr 2014 08:38:56 +0000 (04:38 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 12 Jun 2014 04:21:12 +0000 (00:21 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
mm/shmem.c

index d3e5c6fc313ce94720c0f865859f71591d51cbe7..de834ab8b6b90a0a406da4c96278ef946702e7ad 100644 (file)
@@ -2623,7 +2623,7 @@ static const struct file_operations shmem_file_operations = {
        .write_iter     = generic_file_write_iter,
        .fsync          = noop_fsync,
        .splice_read    = shmem_file_splice_read,
-       .splice_write   = generic_file_splice_write,
+       .splice_write   = iter_file_splice_write,
        .fallocate      = shmem_fallocate,
 #endif
 };