aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/file.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-04-05 04:27:08 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-06-12 00:18:51 -0400
commit8d0207652cbe27d1f962050737848e5ad4671958 (patch)
tree2cd92ec3cfc66cdfd3cff1b4a46f1b5a4f4b8197 /fs/ubifs/file.c
parent62a8067a7f35dba2de501c9cb00e4cf36da90bc0 (diff)
->splice_write() via ->write_iter()
iter_file_splice_write() - a ->splice_write() instance that gathers the pipe buffers, builds a bio_vec-based iov_iter covering those and feeds it to ->write_iter(). A bunch of simple cases coverted to that... [AV: fixed the braino spotted by Cyrill] Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ubifs/file.c')
-rw-r--r--fs/ubifs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/file.c b/fs/ubifs/file.c
index 6bc4e8efbccf..0888502a6041 100644
--- a/fs/ubifs/file.c
+++ b/fs/ubifs/file.c
@@ -1585,7 +1585,7 @@ const struct file_operations ubifs_file_operations = {
1585 .fsync = ubifs_fsync, 1585 .fsync = ubifs_fsync,
1586 .unlocked_ioctl = ubifs_ioctl, 1586 .unlocked_ioctl = ubifs_ioctl,
1587 .splice_read = generic_file_splice_read, 1587 .splice_read = generic_file_splice_read,
1588 .splice_write = generic_file_splice_write, 1588 .splice_write = iter_file_splice_write,
1589#ifdef CONFIG_COMPAT 1589#ifdef CONFIG_COMPAT
1590 .compat_ioctl = ubifs_compat_ioctl, 1590 .compat_ioctl = ubifs_compat_ioctl,
1591#endif 1591#endif