OSDN Git Service

xfs: don't return _QUERY_ABORT from xfs_rmap_has_other_keys
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 27 Aug 2019 00:06:01 +0000 (17:06 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 28 Aug 2019 15:31:01 +0000 (08:31 -0700)
commit7380e8fec16b3527baa1153255da9cc8d5d4d309
treed3d6712c1839637da312ba078d60cd4846eef80a
parentc94613feefd7714ad0d03a1914632c15782114ff
xfs: don't return _QUERY_ABORT from xfs_rmap_has_other_keys

The xfs_rmap_has_other_keys helper aborts the iteration as soon as it
has an answer.  Don't let this abort leak out to callers.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/libxfs/xfs_rmap.c