xfs: mark xfs_btree_check_lblock and xfs_btree_check_ptr static
authorChristoph Hellwig <hch@lst.de>
Mon, 6 Nov 2017 19:54:01 +0000 (11:54 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 6 Nov 2017 19:57:39 +0000 (11:57 -0800)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_btree.c

index 994fc1c..5f33adf 100644 (file)
@@ -109,7 +109,7 @@ __xfs_btree_check_lblock(
 }
 
 /* Check a long btree block header. */
-int
+static int
 xfs_btree_check_lblock(
        struct xfs_btree_cur    *cur,
        struct xfs_btree_block  *block,
@@ -239,7 +239,7 @@ xfs_btree_check_sptr(
  * Check that a given (indexed) btree pointer at a certain level of a
  * btree is valid and doesn't point past where it should.
  */
-int
+static int
 xfs_btree_check_ptr(
        struct xfs_btree_cur    *cur,
        union xfs_btree_ptr     *ptr,