android_kernel_xiaomi_sm7250/fs/xfs/scrub
Darrick J. Wong d88cc6f344 xfs: strengthen rmap record flags checking
[ Upstream commit 498fe261f0d6d5189f8e11d283705dd97b474b54 ]

We always know the correct state of the rmap record flags (attr, bmbt,
unwritten) so check them by direct comparison.

Fixes: d852657ccf ("xfs: cross-reference reverse-mapping btree")
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-11-24 13:27:23 +01:00
..
agheader_repair.c xfs: repair the AGI 2018-08-10 11:44:31 -07:00
agheader.c xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
alloc.c xfs: remove duplicated include from alloc.c 2018-09-29 13:48:21 +10:00
attr.c xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
bitmap.c xfs: repair the AGFL 2018-08-10 11:44:31 -07:00
bitmap.h xfs: repair the AGFL 2018-08-10 11:44:31 -07:00
bmap.c xfs: strengthen rmap record flags checking 2020-11-24 13:27:23 +01:00
btree.c xfs: fix the minrecs logic when dealing with inode root child blocks 2020-11-24 13:27:23 +01:00
btree.h xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
common.c xfs: clean up IRELE/iput callsites 2018-07-26 10:15:16 -07:00
common.h xfs: periodically yield scrub threads to the scheduler 2020-01-09 10:19:09 +01:00
dabtree.c xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
dabtree.h xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
dir.c xfs: mark dir corrupt when lookup-by-hash fails 2020-10-01 13:14:37 +02:00
ialloc.c xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
inode.c xfs: fix scrub flagging rtinherit even if there is no rt device 2020-11-18 19:18:43 +01:00
parent.c xfs: clean up IRELE/iput callsites 2018-07-26 10:15:16 -07:00
quota.c xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
refcount.c xfs: fix brainos in the refcount scrubber's rmap fragment processor 2020-11-18 19:18:47 +01:00
repair.c xfs: sanity check ag header values in xrep_calc_ag_resblks 2018-08-14 08:17:02 -07:00
repair.h xfs: repair the AGI 2018-08-10 11:44:31 -07:00
rmap.c xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
rtbitmap.c xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
scrub.c xfs: repair the AGI 2018-08-10 11:44:31 -07:00
scrub.h xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
symlink.c xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
trace.c xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
trace.h xfs: refactor the xrep_extent_list into xfs_bitmap 2018-07-31 13:18:08 -07:00
xfs_scrub.h xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00