linux/fs/xfs/scrub
Darrick J. Wong 806d3909a5 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>
2020-03-12 07:58:13 -07:00
..
agheader_repair.c xfs: remove XFS_BUF_TO_SBP 2020-03-11 09:11:39 -07:00
agheader.c xfs: remove XFS_BUF_TO_SBP 2020-03-11 09:11:39 -07:00
alloc.c xfs: removed unneeded variable 2019-09-23 13:00:56 -07:00
attr.c xfs: mark extended attr corrupt when lookup-by-hash fails 2020-03-12 07:58:13 -07:00
attr.h xfs: only allocate memory for scrubbing attributes when we need it 2019-07-05 10:29:56 -07:00
bitmap.c xfs: refactor xfs_iread_extents to use xfs_btree_visit_blocks 2019-10-29 09:50:12 -07:00
bitmap.h
bmap.c xfs: remove all *_ITER_ABORT values 2019-08-29 21:22:41 -07:00
btree.c xfs: remove unused header files 2019-06-28 19:30:43 -07:00
btree.h xfs: const-ify xfs_owner_info arguments 2018-12-12 08:47:16 -08:00
common.c xfs: remove unused header files 2019-06-28 19:30:43 -07:00
common.h xfs: periodically yield scrub threads to the scheduler 2019-11-07 13:00:53 -08:00
dabtree.c xfs: remove the mappedbno argument to xfs_da_read_buf 2019-11-22 08:17:10 -08:00
dabtree.h xfs: refactor btree node scrubbing 2019-11-10 16:54:19 -08:00
dir.c xfs: mark dir corrupt when lookup-by-hash fails 2020-03-12 07:58:13 -07:00
fscounters.c xfs: remove unnecessary null pointer checks from _read_agf callers 2020-01-26 14:32:27 -08:00
health.c xfs: fix missing header includes 2019-11-07 13:00:53 -08:00
health.h xfs: scrub should only cross-reference with healthy btrees 2019-04-16 10:01:57 -07:00
ialloc.c xfs: remove unused header files 2019-06-28 19:30:43 -07:00
inode.c xfs: remove unused header files 2019-06-28 19:30:43 -07:00
parent.c xfs: allow parent directory scans to be interrupted with fatal signals 2019-11-27 08:23:14 -08:00
quota.c xfs: add missing early termination checks to record scrubbing functions 2019-11-06 08:07:41 -08:00
refcount.c xfs: removed unused error variable from xchk_refcountbt_rec 2019-10-06 15:39:05 -07:00
repair.c xfs: remove XFS_BUF_TO_AGF 2020-03-11 09:11:39 -07:00
repair.h xfs: remove bogus assertion when online repair isn't enabled 2020-01-09 10:55:19 -08:00
rmap.c xfs: remove unused header files 2019-06-28 19:30:43 -07:00
rtbitmap.c xfs: remove unused header files 2019-06-28 19:30:43 -07:00
scrub.c xfs: fix missing header includes 2019-11-07 13:00:53 -08:00
scrub.h xfs: add online scrub for superblock counters 2019-04-30 08:19:13 -07:00
symlink.c fs: xfs: Remove KM_NOSLEEP and KM_SLEEP. 2019-08-26 12:06:22 -07:00
trace.c xfs: remove unused header files 2019-06-28 19:30:43 -07:00
trace.h ftrace: Rework event_create_dir() 2019-11-27 07:44:25 +01:00
xfs_scrub.h