xfs: factor unwritten extent map manipulations out of xfs_bmapi
commitb447fe5a05cbd01c4bf7fe2fa41cb9e99ce7e58e
authorDave Chinner <dchinner@redhat.com>
Sun, 18 Sep 2011 20:40:51 +0000 (18 20:40 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 12 Oct 2011 02:15:04 +0000 (11 21:15 -0500)
tree2c9a08fe5802d7164398da9f186d7389b5fafb87
parent7e47a4efde33aa3f0cb901e086a75751c2269f04
xfs: factor unwritten extent map manipulations out of xfs_bmapi

To further improve the readability of xfs_bmapi(), factor the
unwritten extent conversion out into a separate function. This
removes 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