]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_repair: stop preallocating blocks in mk_rbmino and mk_rsumino
authorChristoph Hellwig <hch@lst.de>
Tue, 29 Oct 2024 00:03:34 +0000 (17:03 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 31 Oct 2024 22:45:05 +0000 (15:45 -0700)
commit07c09d46665cfac48256f6faf829897554ec74bf
treef2d01e5fb0d7a370a09c9fde738c432f227a5620
parent49ef9d5070dd4821bd69e2f0d1dbc6ee907e6fb4
xfs_repair: stop preallocating blocks in mk_rbmino and mk_rsumino

Now that repair is using libxfs_rtfile_initialize_blocks to write to the
rtbitmap and rtsummary inodes, space allocation is already taken care of
that helper and there is no need to preallocate it.  Remove the code to
do so.

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