[XFS] add keys_inorder and recs_inorder btree methods
authorChristoph Hellwig <hch@infradead.org>
Thu, 30 Oct 2008 05:58:32 +0000 (16:58 +1100)
committerLachlan McIlroy <lachlan@sgi.com>
Thu, 30 Oct 2008 05:58:32 +0000 (16:58 +1100)
commit4a26e66e7728112f0e1cd7eca3bcc430b3a221c9
tree1944f9aa65476c963658b7b4679f7a64287adfb6
parentfd6bcc5b63051392ba709a8fd33173b263669e0a
[XFS] add keys_inorder and recs_inorder btree methods

Add methods to check whether two keys/records are in the righ order. This
replaces the xfs_btree_check_key and xfs_btree_check_rec methods. For the
callers from xfs_bmap.c just opencode the bmbt-specific asserts.

SGI-PV: 985583

SGI-Modid: xfs-linux-melb:xfs-kern:32208a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Bill O'Donnell <billodo@sgi.com>
Signed-off-by: David Chinner <david@fromorbit.com>
fs/xfs/xfs_alloc_btree.c
fs/xfs/xfs_bmap.c
fs/xfs/xfs_bmap_btree.c
fs/xfs/xfs_btree.c
fs/xfs/xfs_btree.h
fs/xfs/xfs_ialloc_btree.c