]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - libxfs/libxfs_api_defs.h
xfs_repair: update secondary superblocks after changing features
authorDarrick J. Wong <djwong@kernel.org>
Fri, 25 Feb 2022 22:42:16 +0000 (17:42 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Fri, 25 Feb 2022 22:42:16 +0000 (17:42 -0500)
commit68fb1399d7a5597c73d10a80c3ead9668385cd20
tree3baea07927142f20fa55ff0426d2726159056c0c
parent0f53ef95a96e838804c02dc7d42591d4033d8caa
xfs_repair: update secondary superblocks after changing features

When we add features to an existing filesystem, make sure we update the
secondary superblocks to reflect the new geometry so that if we lose the
primary super in the future, repair will recover correctly.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/libxfs_api_defs.h
repair/globals.c
repair/globals.h
repair/phase2.c
repair/xfs_repair.c