Commit 12e1e7af authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Al Viro

vfs: Make __vfs_write() static

__vfs_write() was unexported, and removed from <linux/fs.h>, but
forgotten to be made static.

Fixes: eb031849 ("fs: unexport __vfs_read/__vfs_write")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent cc4b1242
...@@ -478,8 +478,8 @@ static ssize_t new_sync_write(struct file *filp, const char __user *buf, size_t ...@@ -478,8 +478,8 @@ static ssize_t new_sync_write(struct file *filp, const char __user *buf, size_t
return ret; return ret;
} }
ssize_t __vfs_write(struct file *file, const char __user *p, size_t count, static ssize_t __vfs_write(struct file *file, const char __user *p,
loff_t *pos) size_t count, loff_t *pos)
{ {
if (file->f_op->write) if (file->f_op->write)
return file->f_op->write(file, p, count, pos); return file->f_op->write(file, p, count, pos);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment