diff options
author | Christoph Hellwig <hch@lst.de> | 2017-10-19 21:08:52 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-27 01:38:28 +0300 |
commit | 29b3e94a9c65224733fe8de49b07b7227f95f821 (patch) | |
tree | 0b6e0316396cc893edfa650ebefa8a615e5c8211 /fs/xfs/xfs_bmap_util.c | |
parent | 5936dc543cfd27de74cd34fdc928b5115cec53d1 (diff) | |
download | linux-29b3e94a9c65224733fe8de49b07b7227f95f821.tar.xz |
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>
Diffstat (limited to 'fs/xfs/xfs_bmap_util.c')
0 files changed, 0 insertions, 0 deletions