]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_repair: use libxfs_rtfile_initialize_blocks
authorChristoph Hellwig <hch@lst.de>
Tue, 15 Oct 2024 19:43:49 +0000 (12:43 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:44:43 +0000 (13:44 -0700)
commitd9e8a8251aa356d0394b29e3dd66441f00a92574
tree9e2e0d5debd2e9dc24bd59d008609a9128d04a8f
parent6c1223032852b0fbc7cc6000b73e747b7745a53d
xfs_repair: use libxfs_rtfile_initialize_blocks

Use libxfs_rtfile_initialize_blocks to write the re-computed rtbitmap
and rtsummary contents.  This removes duplicate code and prepares for
even more sharing once the rtgroup features adds a metadata header to
the rtbitmap and rtsummary blocks.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
repair/phase6.c