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

From: kbuild test robot
Date: Tue Feb 13 2018 - 15:12:32 EST



Fixes: 525e7273bc80 ("orangefs: let setattr write to cached inode")
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/orangefs/super.c b/fs/orangefs/super.c
index 49bb1ce..c38310c 100644
--- a/fs/orangefs/super.c
+++ b/fs/orangefs/super.c
@@ -150,7 +150,7 @@ static void orangefs_destroy_inode(struct inode *inode)
call_rcu(&inode->i_rcu, orangefs_i_callback);
}

-int orangefs_write_inode(struct inode *inode, struct writeback_control *wbc)
+static int orangefs_write_inode(struct inode *inode, struct writeback_control *wbc)
{
struct iattr iattr;
gossip_debug(GOSSIP_SUPER_DEBUG, "orangefs_write_inode\n");