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:
Darrick J. Wong
2019-08-28 14:37:57 -07:00
parent 7f313eda8f
commit e7ee96dfb8
15 changed files with 54 additions and 44 deletions

View File

@@ -1239,7 +1239,7 @@ xfs_qm_exit(void)
/*
* Iterate every dquot of a particular type. The caller must ensure that the
* particular quota type is active. iter_fn can return negative error codes,
* or XFS_ITER_ABORT to indicate that it wants to stop iterating.
* or -ECANCELED to indicate that it wants to stop iterating.
*/
int
xfs_qm_dqiterate(