]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: switch xfs_bmap_local_to_extents to use xfs_iext_insert
authorChristoph Hellwig <hch@lst.de>
Wed, 18 Oct 2017 18:39:01 +0000 (13:39 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 18 Oct 2017 18:39:01 +0000 (13:39 -0500)
commit05104e4313eb980c1e797dab00bf492d3e345c4a
tree30fe4d47ca36c8bdfa90dad6141875c82bb0d46e
parent6484fa560f96e121afe03003aa641eb18358a775
xfs: switch xfs_bmap_local_to_extents to use xfs_iext_insert

Source kernel commit: 50bb44c28614205def9e711190842b4c0242ae79

Use the helper instead of open coding it, to provide a better abstraction
for the scalable extent list work.  This also gets an additional assert
and trace point for free.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_bmap.c