diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-26 00:03:46 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-27 18:20:31 +0200 |
commit | 2fdbec5cbeb93349836d682b1caa5cc72d1b7018 (patch) | |
tree | 113a27a8a96bf20b65c9757da6a3d26f99506867 /fs/xfs/libxfs/xfs_btree.c | |
parent | xfs: abort dir/attr btree operation if btree is obviously weird (diff) | |
download | linux-2fdbec5cbeb93349836d682b1caa5cc72d1b7018.tar.xz linux-2fdbec5cbeb93349836d682b1caa5cc72d1b7018.zip |
xfs: compare btree block keys to parent block's keys during scrub
When we're done checking all the records/keys in a btree block, compute
the low and high key of the block and compare them to the associated key
in the parent btree block.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_btree.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_btree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/libxfs/xfs_btree.c b/fs/xfs/libxfs/xfs_btree.c index b3cd82a27cf4..848f3713d73c 100644 --- a/fs/xfs/libxfs/xfs_btree.c +++ b/fs/xfs/libxfs/xfs_btree.c @@ -2027,7 +2027,7 @@ error0: } /* Find the high key storage area from a regular key. */ -STATIC union xfs_btree_key * +union xfs_btree_key * xfs_btree_high_key_from_key( struct xfs_btree_cur *cur, union xfs_btree_key *key) @@ -2101,7 +2101,7 @@ xfs_btree_get_node_keys( } /* Derive the keys for any btree block. */ -STATIC void +void xfs_btree_get_keys( struct xfs_btree_cur *cur, struct xfs_btree_block *block, |