xfs: factor out debug checks from xfs_dialloc and xfs_difree
authorDave Chinner <dgc@sgi.com>
Mon, 31 Aug 2009 23:57:09 +0000 (20:57 -0300)
committerFelix Blyakher <felixb@sgi.com>
Tue, 1 Sep 2009 17:45:18 +0000 (12:45 -0500)
Factor out a common helper from repeated debug checks in xfs_dialloc and
xfs_difree.

[hch: split out from Dave's dynamic allocation policy patches]

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Signed-off-by: Felix Blyakher <felixb@sgi.com>

No differences found