OSDN Git Service

xfs: use xfs_iext_get_extent in xfs_bmap_first_unused
authorChristoph Hellwig <hch@lst.de>
Tue, 29 Aug 2017 22:44:12 +0000 (15:44 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 1 Sep 2017 17:55:30 +0000 (10:55 -0700)
commitf2285c148c4167337d12452bebccadd2ad821d5d
tree4b7d81346f935aa526779c385d4afb24b3391169
parent50bb44c28614205def9e711190842b4c0242ae79
xfs: use xfs_iext_get_extent in xfs_bmap_first_unused

Use the bmap abstraction instead of open-coding bmbt details here.

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