aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-05-08 11:17:46 +0200
committerChristoph Hellwig <hch@lst.de>2020-07-08 08:27:57 +0200
commit775802c0571fb438cd4f6548a323f9e4cb89f5aa (patch)
treeebd7684a89957c9dc41834841e58f083c7b476c7 /include/linux
parentfs: implement kernel_read using __kernel_read (diff)
downloadwireguard-linux-775802c0571fb438cd4f6548a323f9e4cb89f5aa.tar.xz
wireguard-linux-775802c0571fb438cd4f6548a323f9e4cb89f5aa.zip
fs: remove __vfs_read
Fold it into the two callers. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 22cbe7b2e919..0c0ec76b600b 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1917,7 +1917,6 @@ ssize_t rw_copy_check_uvector(int type, const struct iovec __user * uvector,
struct iovec *fast_pointer,
struct iovec **ret_pointer);
-extern ssize_t __vfs_read(struct file *, char __user *, size_t, loff_t *);
extern ssize_t vfs_read(struct file *, char __user *, size_t, loff_t *);
extern ssize_t vfs_write(struct file *, const char __user *, size_t, loff_t *);
extern ssize_t vfs_readv(struct file *, const struct iovec __user *,