[RFC PATCH] xfs: xfs_reflink_find_shared can be static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
---
 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,



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux