[RFC PATCH martinbrandenburg] orangefs: orangefs_write_end() can be static

From: kbuild test robot
Date: Fri Mar 16 2018 - 04:17:00 EST



Fixes: 27dd09ddfeca ("orangefs: implement writepage")
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/orangefs/inode.c b/fs/orangefs/inode.c
index b9b9d65..9999151 100644
--- a/fs/orangefs/inode.c
+++ b/fs/orangefs/inode.c
@@ -85,7 +85,7 @@ static int orangefs_readpage(struct file *file, struct page *page)
return ret;
}

-int orangefs_write_end(struct file *file, struct address_space *mapping,
+static int orangefs_write_end(struct file *file, struct address_space *mapping,
loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata)
{
int r;