linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] vfs: Make __vfs_write() static
@ 2019-02-20 12:50 Geert Uytterhoeven
  2019-02-20 14:21 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2019-02-20 12:50 UTC (permalink / raw)
  To: Alexander Viro, Christoph Hellwig
  Cc: linux-fsdevel, linux-kernel, Geert Uytterhoeven

__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>
---
 fs/read_write.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/read_write.c b/fs/read_write.c
index ff3c5e6f87cfaa7c..4b328e45db36682a 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);
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] vfs: Make __vfs_write() static
  2019-02-20 12:50 [PATCH] vfs: Make __vfs_write() static Geert Uytterhoeven
@ 2019-02-20 14:21 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2019-02-20 14:21 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Alexander Viro, Christoph Hellwig, linux-fsdevel, linux-kernel

Looks fine:

Reviewed-by: Christoph Hellwig <hch@lst.de>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-02-20 14:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-20 12:50 [PATCH] vfs: Make __vfs_write() static Geert Uytterhoeven
2019-02-20 14:21 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).