xfs: remove all *_ITER_ABORT values
Use -ECANCELED to signal "stop iterating" instead of these magical *_ITER_ABORT values, since it's duplicative. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
This commit is contained in:
@@ -276,7 +276,7 @@ xfs_getfsmap_helper(
|
||||
*/
|
||||
if (rec_daddr > info->next_daddr) {
|
||||
if (info->head->fmh_entries >= info->head->fmh_count)
|
||||
return XFS_BTREE_QUERY_RANGE_ABORT;
|
||||
return -ECANCELED;
|
||||
|
||||
fmr.fmr_device = info->dev;
|
||||
fmr.fmr_physical = info->next_daddr;
|
||||
@@ -295,7 +295,7 @@ xfs_getfsmap_helper(
|
||||
|
||||
/* Fill out the extent we found */
|
||||
if (info->head->fmh_entries >= info->head->fmh_count)
|
||||
return XFS_BTREE_QUERY_RANGE_ABORT;
|
||||
return -ECANCELED;
|
||||
|
||||
trace_xfs_fsmap_mapping(mp, info->dev, info->agno, rec);
|
||||
|
||||
|
Reference in New Issue
Block a user