summaryrefslogtreecommitdiffstats
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-09-01 17:39:23 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2017-09-05 01:05:16 +0200
commiteb031849d52e61d24ba54e9d27553189ff328174 (patch)
tree54aa102cad64a85b7d023274604400fa28b07978 /fs/read_write.c
parentlustre: switch to kernel_write (diff)
downloadlinux-eb031849d52e61d24ba54e9d27553189ff328174.tar.xz
linux-eb031849d52e61d24ba54e9d27553189ff328174.zip
fs: unexport __vfs_read/__vfs_write
No modular users left, and any new ones should use kernel_read/write or iov_iter variants instead. Signed-off-by: Christoph Hellwig <hch@lst.de> 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, 0 insertions, 2 deletions
diff --git a/fs/read_write.c b/fs/read_write.c
index 7415f94511e5..49450c642298 100644
--- a/fs/read_write.c
+++ b/fs/read_write.c
@@ -413,7 +413,6 @@ ssize_t __vfs_read(struct file *file, char __user *buf, size_t count,
else
return -EINVAL;
}
-EXPORT_SYMBOL(__vfs_read);
ssize_t kernel_read(struct file *file, void *buf, size_t count, loff_t *pos)
{
@@ -485,7 +484,6 @@ ssize_t __vfs_write(struct file *file, const char __user *p, size_t count,
else
return -EINVAL;
}
-EXPORT_SYMBOL(__vfs_write);
ssize_t __kernel_write(struct file *file, const void *buf, size_t count, loff_t *pos)
{