linux-yocto/fs/xfs/scrub
Darrick J. Wong b2dcbd8a92 xfs: attr forks require attr, not attr2
commit 73c34b0b85 upstream.

It turns out that I misunderstood the difference between the attr and
attr2 feature bits.  "attr" means that at some point an attr fork was
created somewhere in the filesystem.  "attr2" means that inodes have
variable-sized forks, but says nothing about whether or not there
actually /are/ attr forks in the system.

If we have an attr fork, we only need to check that attr is set.

Fixes: 99d9d8d05d ("xfs: scrub inode block mappings")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Signed-off-by: Catherine Hoang <catherine.hoang@oracle.com>
Acked-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-27 13:58:45 +01:00
..
agheader_repair.c xfs: convert comma to semicolon 2024-12-27 13:58:45 +01:00
agheader.c
alloc.c
attr.c xfs: revert commit 44af6c7e59 2024-10-22 15:46:23 +02:00
attr.h
bitmap.c
bitmap.h
bmap.c xfs: attr forks require attr, not attr2 2024-12-27 13:58:45 +01:00
btree.c
btree.h
common.c xfs: use dontcache for grabbing inodes during scrub 2024-10-22 15:46:23 +02:00
common.h
dabtree.c
dabtree.h
dir.c
fscounters.c
health.c
health.h
ialloc.c
inode.c
parent.c
quota.c
readdir.c
readdir.h
reap.c
reap.h
refcount.c
repair.c
repair.h
rmap.c
rtbitmap.c
rtsummary.c
scrub.c
scrub.h xfs: use dontcache for grabbing inodes during scrub 2024-10-22 15:46:23 +02:00
stats.c
stats.h
symlink.c
trace.c
trace.h xfs: fix file_path handling in tracepoints 2024-12-27 13:58:45 +01:00
xfarray.c
xfarray.h
xfile.c
xfile.h
xfs_scrub.h