diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-03-11 10:37:53 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-03-12 07:58:12 -0700 |
commit | a71e4228e6f2a4fe6519d8ed081d0a164967fa31 (patch) | |
tree | 9890920a829b1f0fbb0e73d6d56734c63b17432f /fs/xfs/xfs_buf.h | |
parent | 496b9bcd62b0b3a160be61e3265a086f97adcbd3 (diff) | |
download | lwn-a71e4228e6f2a4fe6519d8ed081d0a164967fa31.tar.gz lwn-a71e4228e6f2a4fe6519d8ed081d0a164967fa31.zip |
xfs: fix xfs_rmap_has_other_keys usage of ECANCELED
In e7ee96dfb8c26, we converted all ITER_ABORT users to use ECANCELED
instead, but we forgot to teach xfs_rmap_has_other_keys not to return
that magic value to callers. Fix it now by using ECANCELED both to
abort the iteration and to signal that we found another reverse mapping.
This enables us to drop the separate boolean flag.
Fixes: e7ee96dfb8c26 ("xfs: remove all *_ITER_ABORT values")
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_buf.h')
0 files changed, 0 insertions, 0 deletions