commit | 29b3e94a9c65224733fe8de49b07b7227f95f821 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Oct 19 11:08:52 2017 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Thu Oct 26 15:38:28 2017 -0700 |
tree | 0b6e0316396cc893edfa650ebefa8a615e5c8211 | |
parent | 5936dc543cfd27de74cd34fdc928b5115cec53d1 [diff] |
xfs: rewrite xfs_bmap_first_unused to make better use of xfs_iext_get_extent Look at the return value of xfs_iext_get_extent instead of figuring out the extent count first and looping up to it. 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>