xfs: factor extent allocation out of xfs_bmapi
commit7e47a4efde33aa3f0cb901e086a75751c2269f04
authorDave Chinner <dchinner@redhat.com>
Sun, 18 Sep 2011 20:40:50 +0000 (18 20:40 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 12 Oct 2011 02:15:04 +0000 (11 21:15 -0500)
tree2ed47e82967b9b2655fc700bcc0fd5a375433fa2
parent1fd044d9c6735e669f0db025f18023e56a608130
xfs: factor extent allocation out of xfs_bmapi

To further improve the readability of xfs_bmapi(), factor the extent
allocation out into a separate function. This removes a large block
of logic from the xfs_bmapi() code loop and makes it easier to see
the operational logic flow for xfs_bmapi().

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