]> 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>
Mon, 23 Sep 2024 20:41:01 +0000 (13:41 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 9 Oct 2024 02:25:24 +0000 (19:25 -0700)
commitcc4368627a89c07c3b98df44fd67acd2214a7461
treebce89aa0e15c6ce296b3df9e4f6fc811bc226426
parent297f66d74d6ca3f297b66a7b9b8815bffe8d5703
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