projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4da54c2
)
shmem: switch to iter_file_splice_write()
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 5 Apr 2014 08:38:56 +0000
(
04:38
-0400)
committer
Al 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
patch
|
blob
|
blame
|
history
diff --git
a/mm/shmem.c
b/mm/shmem.c
index d3e5c6fc313ce94720c0f865859f71591d51cbe7..de834ab8b6b90a0a406da4c96278ef946702e7ad 100644
(file)
--- 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
};