xfs: do not use xfs_bmap_add_extent for adding delalloc extents
authorChristoph Hellwig <hch@infradead.org>
Sun, 18 Sep 2011 20:40:49 +0000 (20:40 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 12 Oct 2011 02:15:04 +0000 (21:15 -0500)
commit1fd044d9c6735e669f0db025f18023e56a608130
tree605e5f4517144401c2be2fcb234dc8b8f301afc6
parent4403280aa5c00c6074f2dc23e1cfc11f2bfb0032
xfs: do not use xfs_bmap_add_extent for adding delalloc extents

We can just call xfs_bmap_add_extent_hole_delay directly to add a
delayed allocated regions to the extent tree, instead of going
through all the complexities of xfs_bmap_add_extent that aren't
needed for this simple case.

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