Skip to content

Commit

Permalink
vfs: Make __vfs_write() static
Browse files Browse the repository at this point in the history
__vfs_write() was unexported, and removed from <linux/fs.h>, but
forgotten to be made static.

Fixes: eb03184 ("fs: unexport __vfs_read/__vfs_write")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
geertu authored and Al Viro committed Feb 22, 2019
1 parent cc4b124 commit 12e1e7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/read_write.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 12e1e7a

Please sign in to comment.