[RFC PATCH] xfs: try_split_da_extent can be static

From: kbuild test robot
Date: Thu Dec 26 2019 - 19:21:26 EST



Fixes: 1c6c6a28e3cb ("xfs: fix stale data exposure problem when punch hole, collapse range or zero range across a delalloc extent")
Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
---
xfs_file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c
index 40773d7e6d235..f0b7e60860470 100644
--- a/fs/xfs/xfs_file.c
+++ b/fs/xfs/xfs_file.c
@@ -786,7 +786,7 @@ xfs_break_layouts(

return error;
}
-int
+static int
try_split_da_extent(
struct xfs_inode *ip,
loff_t offset,