diff --git a/fs/xfs/xfs_dir2_sf.c b/fs/xfs/xfs_dir2_sf.c
index bb6e2848f473d024d5ff1dd70a1232443901ea9f..579b56b1dcd24501c8e983eb8cd5ce21e0931f44 100644
--- a/fs/xfs/xfs_dir2_sf.c
+++ b/fs/xfs/xfs_dir2_sf.c
@@ -129,7 +129,7 @@ xfs_dir3_sfe_get_ino(
 	return xfs_dir2_sf_get_ino(hdr, xfs_dir3_sfe_inop(mp, sfep));
 }
 
-void
+static void
 xfs_dir3_sfe_put_ino(
 	struct xfs_mount	*mp,
 	struct xfs_dir2_sf_hdr	*hdr,