diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-02-27 14:06:28 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-03-03 18:47:34 -0800 |
commit | 52bf12e1051f86cac65ff029dee1614fe7be48d1 (patch) | |
tree | aa2ab8e563d7b29093af1d4672583ebca9a6e0b3 /fs/xfs/scrub/dir.c | |
parent | 6469ae1830d1969a6e7ff22a783eb23aa3f8b50f (diff) |
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>
Diffstat (limited to 'fs/xfs/scrub/dir.c')
0 files changed, 0 insertions, 0 deletions