refactor btree validation helpers
Move the various btree validation helpers around in xfs_btree.c so that
they are close to each other and in common #ifdef DEBUG sections.
Also add a new xfs_btree_check_ptr helper to check a btree ptr that
can be either long or short form.
Split out from a bigger patch from Dave Chinner with various small
changes applied by me.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Date: Wed Sep 24 17:40:46 AEST 2008
The following file(s) were checked into:
fs/xfs/xfs_btree.c - 1.124 - changed
fs/xfs/xfs_btree.h - 1.75 - changed
- refactor btree validation helpers