]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_repair: don't let metadata and regular files mix
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:24:20 +0000 (16:24 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:27 +0000 (18:01 -0800)
commit920e4cc6c91a7c4eba3ea663826b3c312bc84551
tree7e6a8c7e9d6adbe366169c3635020437eade0d0e
parent529a5b4e9cef5d1df2dac9914b167905ff7cb2b0
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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
repair/dinode.c
repair/incore.h
repair/incore_ino.c
repair/phase2.c
repair/phase6.c