]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove xfs_bmap_add_extent
authorChristoph Hellwig <hch@infradead.org>
Sun, 18 Sep 2011 20:40:54 +0000 (20:40 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 12 Oct 2011 02:15:05 +0000 (21:15 -0500)
commit501390556c0acfc7e89bf2489f405c9c5bbabd56
treea3492cb106bfaa0e5bc4c3b14c7b513ec01fcbbd
parent5438c3a572a3f645854a2d1731a40985bd7ba9f8
xfs: remove xfs_bmap_add_extent

There is no real need to the xfs_bmap_add_extent, as the callers
know what kind of extents they need to it.  Removing it means
duplicating the extents to btree conversion logic in three places,
but overall it's still much simpler code and quite a bit less code.

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