]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove the first extent special case in xfs_bmap_add_extent
authorChristoph Hellwig <hch@infradead.org>
Sun, 18 Sep 2011 20:40:41 +0000 (20:40 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 12 Oct 2011 02:15:03 +0000 (21:15 -0500)
commite7a72b8c90f7e5f5e131ca8f4346ef632738bc32
tree575d3f79215d575f2baf62b1279a7bfc567521e5
parentac52273c204f0ad19460cda9bda84b990707fb90
xfs: remove the first extent special case in xfs_bmap_add_extent

Both xfs_bmap_add_extent_hole_delay and xfs_bmap_add_extent_hole_real
already contain code to handle the case where there is no extent to
merge with, which is effectively the same as the code duplicated here.

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