]> www.infradead.org Git - users/hch/xfsprogs.git/commit
repair: use libxfs_rtfile_initialize_blocks
authorChristoph Hellwig <hch@lst.de>
Mon, 29 Jul 2024 21:46:29 +0000 (14:46 -0700)
committerChristoph Hellwig <hch@lst.de>
Tue, 30 Jul 2024 01:07:57 +0000 (18:07 -0700)
commitc6270014cdbb604c7dbb82b74f447e580051ac0c
tree03ecc31760a9cb207ffa226177e2842afc6aa077
parentd343adda47305bb77a60f2ffe1c8738ca887aeb4
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>
repair/phase6.c