提交 f6cb85d0 编写于 作者: A Al Viro

shmem: switch to iter_file_splice_write()

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 4da54c21
...@@ -2623,7 +2623,7 @@ static const struct file_operations shmem_file_operations = { ...@@ -2623,7 +2623,7 @@ static const struct file_operations shmem_file_operations = {
.write_iter = generic_file_write_iter, .write_iter = generic_file_write_iter,
.fsync = noop_fsync, .fsync = noop_fsync,
.splice_read = shmem_file_splice_read, .splice_read = shmem_file_splice_read,
.splice_write = generic_file_splice_write, .splice_write = iter_file_splice_write,
.fallocate = shmem_fallocate, .fallocate = shmem_fallocate,
#endif #endif
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册