| commit | 10ec4773284ff577f3a553739c224592df6faa16 | [log] [tgz] |
|---|---|---|
| author | Darrick J. Wong <darrick.wong@oracle.com> | Tue Jun 25 14:58:00 2019 -0700 |
| committer | Darrick J. Wong <darrick.wong@oracle.com> | Fri Jul 26 14:07:28 2019 -0700 |
| tree | 3fc14c0bfc2858b1d0fb36fabd602b5c83ef7f17 | |
| parent | 8469aff400ab185dfecc9d4d178ec9dc9f85c140 [diff] |
xfs: create iterator error codes
Currently, xfs doesn't have generic error codes defined for "stop
iterating"; we just reuse the XFS_BTREE_QUERY_* return values. This
looks a little weird if we're not actually iterating a btree index.
Before we start adding more iterators, we should create general
XFS_ITER_{CONTINUE,ABORT} return values and define the XFS_BTREE_QUERY_*
ones from that.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>