]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_repair: don't let metadata and regular files mix
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:21:54 +0000 (14:21 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 16 Jul 2024 22:49:12 +0000 (15:49 -0700)
commit30448a44526ac49a98b1c3d365a341d0dcadf9f8
tree2cd739e6f022061925a2c317aaee02e660dbaf78
parentf980898d5d088680cb10d1a1b1b01300fa47a114
xfs_repair: don't let metadata and regular files mix

Track whether or not inodes thought they were metadata inodes.  We
cannot allow metadata inodes to appear in the regular directory tree,
and we cannot allow regular inodes to appear in the metadata directory
tree.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
repair/dinode.c
repair/incore.h
repair/incore_ino.c
repair/phase2.c
repair/phase6.c