blob: 567a6a529083f8766f88465be0b6db2b10c20ff9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
From de322e053ffead2504fb9e0810680f52b1de11b6 Mon Sep 17 00:00:00 2001
From: Paul Gortmaker <paul.gortmaker@windriver.com>
Date: Mon, 29 Sep 2014 15:10:01 -0400
Subject: [PATCH 4/4] yaffs2: implement ->splice_write() via ->write_iter()
A parallel of mainline 8d0207652cbe27d1f962050737848e5ad4671958
("->splice_write() via ->write_iter()") changes for the out of
tree yaffs2.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
fs/yaffs2/yaffs_vfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/yaffs2/yaffs_vfs.c b/fs/yaffs2/yaffs_vfs.c
index f391145cdf71..0038cc17fbff 100644
--- a/fs/yaffs2/yaffs_vfs.c
+++ b/fs/yaffs2/yaffs_vfs.c
@@ -802,7 +802,7 @@ static const struct file_operations yaffs_file_operations = {
.flush = yaffs_file_flush,
.fsync = yaffs_sync_object,
.splice_read = generic_file_splice_read,
- .splice_write = generic_file_splice_write,
+ .splice_write = iter_file_splice_write,
.llseek = generic_file_llseek,
};
--
1.8.1.2
|