]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/xfs/libxfs/xfs_bmap.c
xfs: factor delalloc reservations out of xfs_bmapi
authorChristoph Hellwig <hch@infradead.org>
Sun, 18 Sep 2011 20:40:47 +0000 (20:40 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 12 Oct 2011 02:15:04 +0000 (21:15 -0500)
commitb64dfe4e180ab5047c59bcbe379538eb23be4d8e
tree1c159801e7c7c0f947c0edd572e8ec26baf42ada
parent5b777ad517ee75d3bb8d67c142d808822e46601b
xfs: factor delalloc reservations out of xfs_bmapi

Move the reservation of delayed allocations, and addition of delalloc
regions to the extent trees into a new helper function.  For now
this adds some twisted goto logic to xfs_bmapi, but that will be
cleaned up in the following patches.

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