xfs: factor extent map manipulations out of xfs_bmapi
authorDave Chinner <dchinner@redhat.com>
Sun, 18 Sep 2011 20:40:44 +0000 (20:40 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 12 Oct 2011 02:15:03 +0000 (21:15 -0500)
commitaef9a89586fc8475bf0333b8736d5aa8aa6f4897
treec9f7a1d4744335f7bc36dd4b06b223af440cc170
parentecee76ba9d91fdcbdff933ca1bd41465ca4c4fdb
xfs: factor extent map manipulations out of xfs_bmapi

To further improve the readability of xfs_bmapi(), factor the pure
extent map manipulations out into separate functions. This removes
large blocks 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