summaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-04-05 04:38:56 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-06-12 00:21:12 -0400
commitf6cb85d00e1eb2fc3bf27ffcd0acc9d519512bb0 (patch)
treebdd94d13e4c4a041ab67da423e76b45d5649c208 /mm/shmem.c
parent4da54c218da96fab0d65f3263c9b0092b42f0711 (diff)
downloadop-kernel-dev-f6cb85d00e1eb2fc3bf27ffcd0acc9d519512bb0.zip
op-kernel-dev-f6cb85d00e1eb2fc3bf27ffcd0acc9d519512bb0.tar.gz
shmem: switch to iter_file_splice_write()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm/shmem.c')
-rw-r--r--mm/shmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/shmem.c b/mm/shmem.c
index d3e5c6fc3..de834ab 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -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
};
OpenPOWER on IntegriCloud