xfs: encapsulate a block of debug code
authorAlex Elder <aelder@sgi.com>
Mon, 18 Jul 2011 18:14:09 +0000 (18:14 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 27 Jul 2011 03:05:34 +0000 (22:05 -0500)
commit1c4f33296e8e79a6bbfffc8457d547ffc31d5dee
tree67934ff868c5a9fb54841fc866adaf741868f9dc
parentb0189cd087aa82bd23277cb5c8960ab030e13e5c
xfs: encapsulate a block of debug code

Pull into a helper function some debug-only code that validates a
xfs_da_blkinfo structure that's been read from disk.

Signed-off-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Christoph Hellwig <hch@infradead.org>
fs/xfs/xfs_da_btree.c