summaryrefslogtreecommitdiff
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-08-19 11:48:09 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-10-09 02:39:05 -0400
commit2ec3a12a667847d303d4d0c0576d5ff388052b48 (patch)
treea4f4aa400653a513f986622def425f6bba0ccc99 /fs/read_write.c
parent594822918de20bf3a50afbc4de65b6f2971a92db (diff)
downloadlwn-2ec3a12a667847d303d4d0c0576d5ff388052b48.tar.gz
lwn-2ec3a12a667847d303d4d0c0576d5ff388052b48.zip
cachefiles_write_page(): switch to __kernel_write()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/read_write.c')
-rw-r--r--fs/read_write.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/read_write.c b/fs/read_write.c
index 009d8542a889..7d9318c3d43c 100644
--- a/fs/read_write.c
+++ b/fs/read_write.c
@@ -513,6 +513,8 @@ ssize_t __kernel_write(struct file *file, const char *buf, size_t count, loff_t
return ret;
}
+EXPORT_SYMBOL(__kernel_write);
+
ssize_t vfs_write(struct file *file, const char __user *buf, size_t count, loff_t *pos)
{
ssize_t ret;