]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_repair: preserve the metadirino field when zeroing supers
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:21:52 +0000 (14:21 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 1 Aug 2024 00:07:30 +0000 (17:07 -0700)
commit2e5dfc1ad0864a0947005e6e93761efcfb935da1
tree9c7ea9e4896131c3c98d9d17bd106e99d7e8452b
parent4c314d380aa9714a20a3ee2da3d713987d73888e
xfs_repair: preserve the metadirino field when zeroing supers

The metadata directory root inumber is now the last field in the
superblock, so extend the zeroing code to know about that.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
repair/agheader.c