diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-11-02 15:58:36 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-11-09 19:27:32 -0800 |
commit | d44b47fdd1c13f79a9b50a07576929f1c6c33c7f (patch) | |
tree | 3f35c3d80779536ba1109cccba016e470628826b /fs/xfs/xfs_mount.c | |
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>
Diffstat (limited to 'fs/xfs/xfs_mount.c')
0 files changed, 0 insertions, 0 deletions