xfs: split xfs_bmap_btalloc_nullfb
authorChristoph Hellwig <hch@lst.de>
Tue, 22 Apr 2014 21:11:41 +0000 (07:11 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 22 Apr 2014 21:11:41 +0000 (07:11 +1000)
commitc977eb1065612bf64e18c61437e290c22183add8
treea9e9fea73c5d80cffaf5fe3fd8063a30fe364229
parent8b90a33f476436ad6a49b7138d8a00ecbc62f9a6
xfs: split xfs_bmap_btalloc_nullfb

Split xfs_bmap_btalloc_nullfb into one function for filestream allocations
and one for everything else that share a few helpers.  This dramatically
simplifies the control flow.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_bmap.c