summaryrefslogtreecommitdiffstats
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-08-19 17:48:09 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2014-10-09 08:39:05 +0200
commit2ec3a12a667847d303d4d0c0576d5ff388052b48 (patch)
treea4f4aa400653a513f986622def425f6bba0ccc99 /fs/read_write.c
parentvme: don't open-code fixed_size_llseek() (diff)
downloadlinux-2ec3a12a667847d303d4d0c0576d5ff388052b48.tar.xz
linux-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;