[RFC PATCH] xfs: xfs_reflink_find_shared can be static

kernel test robot
2021-12-03T07:11:02Z

fs/xfs/xfs_reflink.c:129:1: warning: symbol 'xfs_reflink_find_shared' was not declared. Should it be static?

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
xfs_reflink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/xfs_reflink.c b/fs/xfs/xfs_reflink.c
index d8281b002dff0..dcf509930a19c 100644
--- a/fs/xfs/xfs_reflink.c
+++ b/fs/xfs/xfs_reflink.c
@@ -125,7 +125,7 @@
* shared blocks. If there are no shared extents, fbno and flen will
* be set to NULLAGBLOCK and 0, respectively.
*/
-int
+static int
xfs_reflink_find_shared(
struct xfs_perag *pag,
struct xfs_trans *tp,