summaryrefslogtreecommitdiff
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-02-20 15:50:59 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2019-02-22 08:30:05 +0300
commit12e1e7af1a55b9f911025365af4c689b3933c22a (patch)
treeddee33e5e12f9bdd2de64d4f1f8f2a16d3b0a79a /fs/read_write.c
parentcc4b1242d7e3b42eed73881fc749944146493e4f (diff)
downloadlinux-12e1e7af1a55b9f911025365af4c689b3933c22a.tar.xz
vfs: Make __vfs_write() static
__vfs_write() was unexported, and removed from <linux/fs.h>, but forgotten to be made static. Fixes: eb031849d52e61d2 ("fs: unexport __vfs_read/__vfs_write") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/read_write.c')
-rw-r--r--fs/read_write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/read_write.c b/fs/read_write.c
index 27b69b85d49f..d83003d856a0 100644
--- a/fs/read_write.c
+++ b/fs/read_write.c
@@ -478,8 +478,8 @@ static ssize_t new_sync_write(struct file *filp, const char __user *buf, size_t
return ret;
}
-ssize_t __vfs_write(struct file *file, const char __user *p, size_t count,
- loff_t *pos)
+static ssize_t __vfs_write(struct file *file, const char __user *p,
+ size_t count, loff_t *pos)
{
if (file->f_op->write)
return file->f_op->write(file, p, count, pos);