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.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Date: Wed Sep 24 19:21:33 AEST 2008
Workarea: redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-btree
Inspected by:
dgc
billodo
lachlan
Author: lachlan
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:32208a
fs/xfs/xfs_ialloc_btree.c - 1.106 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_ialloc_btree.c.diff?r1=text&tr1=1.106&r2=text&tr2=1.105&f=h
fs/xfs/xfs_bmap_btree.c - 1.195 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_bmap_btree.c.diff?r1=text&tr1=1.195&r2=text&tr2=1.194&f=h
fs/xfs/xfs_btree.c - 1.142 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_btree.c.diff?r1=text&tr1=1.142&r2=text&tr2=1.141&f=h
fs/xfs/xfs_btree.h - 1.95 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_btree.h.diff?r1=text&tr1=1.95&r2=text&tr2=1.94&f=h
fs/xfs/xfs_bmap.c - 1.411 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_bmap.c.diff?r1=text&tr1=1.411&r2=text&tr2=1.410&f=h
fs/xfs/xfs_alloc_btree.c - 1.110 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_alloc_btree.c.diff?r1=text&tr1=1.110&r2=text&tr2=1.109&f=h
- add keys_inorder and recs_inorder btree methods
|