diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-03-11 20:37:57 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-03-12 17:58:13 +0300 |
commit | 2e107cf869eecc770e3f630060bb4e5f547d0fd8 (patch) | |
tree | 19c8185b4085b62004e86ba2060701ef38417ca0 /tools/perf/scripts/python | |
parent | 1b2c1a63b678d63e9c98314d44413f5af79c9c80 (diff) | |
download | linux-2e107cf869eecc770e3f630060bb4e5f547d0fd8.tar.xz |
xfs: mark dir corrupt when lookup-by-hash fails
In xchk_dir_actor, we attempt to validate the directory hash structures
by performing a directory entry lookup by (hashed) name. If the lookup
returns ENOENT, 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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions