Skip to content

Commit 12e1e7a

Browse files
geertuAl Viro
authored and
Al Viro
committed
vfs: Make __vfs_write() static
__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]>
1 parent cc4b124 commit 12e1e7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/read_write.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,8 @@ static ssize_t new_sync_write(struct file *filp, const char __user *buf, size_t
478478
return ret;
479479
}
480480

481-
ssize_t __vfs_write(struct file *file, const char __user *p, size_t count,
482-
loff_t *pos)
481+
static ssize_t __vfs_write(struct file *file, const char __user *p,
482+
size_t count, loff_t *pos)
483483
{
484484
if (file->f_op->write)
485485
return file->f_op->write(file, p, count, pos);

0 commit comments

Comments
 (0)