commit | d44b47fdd1c13f79a9b50a07576929f1c6c33c7f | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Thu Nov 02 15:58:36 2017 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Thu Nov 09 19:27:32 2017 -0800 |
tree | 3f35c3d80779536ba1109cccba016e470628826b | |
parent | 65a7935ddc9a1f0c723842776259d76394b4bd11 [diff] |
xfs: check the uniqueness of the AGFL entries Make sure we don't list a block twice in the agfl by copying the contents of the AGFL to an array, sorting it, and looking for duplicates. We can easily check that the number of agfl entries we see actually matches the flcount, so do that too. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>