]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2958dd13d8334c439e9f553b33e87815ca645805
treed145e86f4bb459fc5462e7b97aeec4b01c55a7d6
parent41d83fed1b217a2ba5e07e94d0bfb2508c70a617
xfs: factor out debug checks from xfs_dialloc and xfs_difree

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>
fs/xfs/xfs_ialloc.c