xfs: split xfs_dialloc
authorChristoph Hellwig <hch@infradead.org>
Wed, 4 Jul 2012 14:54:46 +0000 (10:54 -0400)
committerBen Myers <bpm@sgi.com>
Sun, 29 Jul 2012 20:56:49 +0000 (15:56 -0500)
commitf2ecc5e453134a13c3b2b0f2cac52ab2d5c540d7
tree58fdbdc513a494048fb66c424be6c3a07c645bc0
parent824c313139c2ce678011bf11c4823a0c99651c1f
xfs: split xfs_dialloc

Move the actual allocation once we have selected an allocation group into a
separate helper, and make xfs_dialloc a wrapper around it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_ialloc.c