aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-11-16 22:11:35 -0600
committerEric Sandeen <sandeen@redhat.com>2017-11-16 22:11:35 -0600
commit246486c1857440c8c66cef10e8c52a01c42fe392 (patch)
tree678431555b670c08055d8ff40f48e38f3df039b3
parent5837f99a9f30cf83391f546bc3ac287b345027dc (diff)
downloadxfsprogs-dev-246486c1857440c8c66cef10e8c52a01c42fe392.tar.gz
xfs: mark xfs_btree_check_lblock and xfs_btree_check_ptr static
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>
-rw-r--r--libxfs/xfs_btree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libxfs/xfs_btree.c b/libxfs/xfs_btree.c
index 59bd142b82..cc1320f7c5 100644
--- a/libxfs/xfs_btree.c
+++ b/libxfs/xfs_btree.c
@@ -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,