]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: fix di_metatype field of inodes that won't load
authorDarrick J. Wong <djwong@kernel.org>
Fri, 9 Aug 2024 19:51:19 +0000 (12:51 -0700)
committerChristoph Hellwig <hch@lst.de>
Sun, 22 Sep 2024 06:07:20 +0000 (08:07 +0200)
commitdaf589a88732a7d7eb6e50979df7cadff37c9f9c
tree765abd88c59ee5e8c63ba6a1a683686810776873
parent0318a6cbd71d07f7a58765e8f071890a8bbd1abe
xfs: fix di_metatype field of inodes that won't load

Make sure that the di_metatype field is at least set plausibly so that
later scrubbers could set the real type.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/scrub/inode.c
fs/xfs/scrub/inode_repair.c