xfs: use the recalculated transaction reservation in xfs_growfs_rt_bmblock
authorChristoph Hellwig <hch@lst.de>
Fri, 30 Aug 2024 22:37:00 +0000 (15:37 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Sun, 1 Sep 2024 15:58:19 +0000 (08:58 -0700)
commita18a69bbec083093c3bfebaec13ce0b4c6b2af7e
tree0f7329daadc88304e086cfe48eb02ba5cc000a43
parent0a59e4f3e1670bc49d60e1bd1a9b19ca156ae9cb
xfs: use the recalculated transaction reservation in xfs_growfs_rt_bmblock

After going great length to calculate the transaction reservation for
the new geometry, we should also use it to allocate the transaction it
was calculated for.

Fixes: 578bd4ce7100 ("xfs: recompute growfsrtfree transaction reservation while growing rt volume")
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>
fs/xfs/xfs_rtalloc.c