]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe6896540191950914321c065d7c961d26a96a83
treed3d6712c1839637da312ba078d60cd4846eef80a
parent6a5fd6d08b982782f4fe41e31bc3e4322cb467c9
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