xfs: always compile the btree inorder check functions
The btree record and key inorder check functions will be used by the btree scrubber code, so make sure they're always built. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
This commit is contained in:
@@ -163,7 +163,6 @@ struct xfs_btree_ops {
|
||||
|
||||
const struct xfs_buf_ops *buf_ops;
|
||||
|
||||
#if defined(DEBUG) || defined(XFS_WARN)
|
||||
/* check that k1 is lower than k2 */
|
||||
int (*keys_inorder)(struct xfs_btree_cur *cur,
|
||||
union xfs_btree_key *k1,
|
||||
@@ -173,7 +172,6 @@ struct xfs_btree_ops {
|
||||
int (*recs_inorder)(struct xfs_btree_cur *cur,
|
||||
union xfs_btree_rec *r1,
|
||||
union xfs_btree_rec *r2);
|
||||
#endif
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user