diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-03-11 10:38:09 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-03-12 07:58:13 -0700 |
commit | 806d3909a57eae6282725d1f9059350932e90c35 (patch) | |
tree | 5b8cc35c67e4e424c1050e3bf967e247d327d3ce /fs/xfs/xfs_stats.c | |
parent | xfs: mark dir corrupt when lookup-by-hash fails (diff) | |
download | linux-dev-806d3909a57eae6282725d1f9059350932e90c35.tar.xz linux-dev-806d3909a57eae6282725d1f9059350932e90c35.zip |
xfs: mark extended attr corrupt when lookup-by-hash fails
In xchk_xattr_listent, we attempt to validate the extended attribute
hash structures by performing a attr lookup by (hashed) name. If the
lookup returns ENODATA, that means that the hash information is corrupt.
The _process_error functions don't catch this, so we have to add that
explicitly.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_stats.c')
0 files changed, 0 insertions, 0 deletions