]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: factor unwritten extent map manipulations out of xfs_bmapi
authorDave Chinner <dchinner@redhat.com>
Sun, 18 Sep 2011 20:40:51 +0000 (20:40 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 12 Oct 2011 02:15:04 +0000 (21:15 -0500)
commit47552c885b4cc92ea8ce128cbce789b4a2f20623
tree2c9a08fe5802d7164398da9f186d7389b5fafb87
parentda449c949ba29db82136967b64ea9c0de299ccfd
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