]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
xfs: switch xfs_bmap_local_to_extents to use xfs_iext_insert
authorChristoph Hellwig <hch@lst.de>
Tue, 29 Aug 2017 22:44:11 +0000 (15:44 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 1 Sep 2017 17:55:30 +0000 (10:55 -0700)
commit50bb44c28614205def9e711190842b4c0242ae79
tree8e55b5bd552f9a22cfaed8723d1b0fd7f02a87fb
parent67e4e69cb2a7afbffdefd1a0a23a94d1d706c38f
xfs: switch xfs_bmap_local_to_extents to use xfs_iext_insert

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>
fs/xfs/libxfs/xfs_bmap.c