Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd8df82b authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Al Viro
Browse files

fs: unexport vfs_read and vfs_write



No modular users left.  Given that they take user pointers there is no
good reason to export it to drivers to start with.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent eb031849
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -454,8 +454,6 @@ ssize_t vfs_read(struct file *file, char __user *buf, size_t count, loff_t *pos)
	return ret;
}

EXPORT_SYMBOL(vfs_read);

static ssize_t new_sync_write(struct file *filp, const char __user *buf, size_t len, loff_t *ppos)
{
	struct iovec iov = { .iov_base = (void __user *)buf, .iov_len = len };
@@ -554,8 +552,6 @@ ssize_t vfs_write(struct file *file, const char __user *buf, size_t count, loff_
	return ret;
}

EXPORT_SYMBOL(vfs_write);

static inline loff_t file_pos_read(struct file *file)
{
	return file->f_pos;