]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_repair: use libxfs_rtfile_initialize_blocks
authorChristoph Hellwig <hch@lst.de>
Tue, 30 Jul 2024 20:31:06 +0000 (13:31 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 1 Aug 2024 00:07:33 +0000 (17:07 -0700)
commitae17c02aa7fe0f5cb47e4ac895107c97e17ba0a5
tree7d85ea446eb1dd4431106fb9d4cf9cd7edce901f
parentb385cd23ff7e1a9ff56f1ae82d1e346f89470d4f
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