]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: use xfs_iext_*_extent helpers in xfs_bmap_shift_extents
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)
commit2f0828272b86b45923b43fc3807f3c4d4fc85e41
tree9ce0d7e54c1e683f49e7a4c8e079b3f1fed1e93a
parentb6ad780be892824c83ea0b6663323525db6d9ca8
xfs: use xfs_iext_*_extent helpers in xfs_bmap_shift_extents

Source kernel commit: 4da6b514eaa168c246fc5c1245c4f82084bcf24e

This abstracts the function away from details of the low-level extent
list implementation.

Note that it seems like the previous implementation of rmap for
the merge case was completely broken, but it no seems appear to
trigger that.

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