xfs: split xfs_bmap_btalloc
authorChristoph Hellwig <hch@infradead.org>
Mon, 15 Feb 2010 23:34:42 +0000 (23:34 +0000)
committerAlex Elder <aelder@sgi.com>
Mon, 1 Mar 2010 22:35:25 +0000 (16:35 -0600)
commitc467c049e7e6e8b8fe9f38b13b20a4cf7e03f36b
tree66aa78db16a703cf6f3e413886c11950ec2e114c
parentf7008d0aeba21396b3422df135b692ae701bd0c8
xfs: split xfs_bmap_btalloc

Split out the nullfb case into a separate function to reduce the stack
footprint and make the code more readable.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_bmap.c