Skip to contentSkip to conversation

TAKE 985583 - refactor btree validation helpers

DISCUSSION Lachlan McIlroy 1 participant 1 message Sep 24, 2008

lore
Share & tools
lore
#0 lore raw

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.

Date:  Wed Sep 24 17:40:46 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:32183a
fs/xfs/xfs_btree.c - 1.124 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_btree.c.diff?r1=text&tr1=1.124&r2=text&tr2=1.123&f=h
fs/xfs/xfs_btree.h - 1.75 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_btree.h.diff?r1=text&tr1=1.75&r2=text&tr2=1.74&f=h
- refactor btree validation helpers