]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs: mark xfs_btree_check_lblock and xfs_btree_check_ptr static
authorChristoph Hellwig <hch@lst.de>
Fri, 17 Nov 2017 04:11:35 +0000 (22:11 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 17 Nov 2017 04:11:35 +0000 (22:11 -0600)
Source kernel commit: 4483eb566b2c045f69f2fa01629aca7772cdf95e

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_btree.c

index 59bd142b8291aef27c1b9b0280dabf7d41fed5bc..cc1320f7c50e66c6779d5df411f50209e5e812b9 100644 (file)
@@ -105,7 +105,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,
@@ -235,7 +235,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,