diff options
author | Christoph Hellwig <hch@lst.de> | 2024-11-03 20:19:13 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-11-05 13:38:38 -0800 |
commit | bde86b42d2825db42749ad1822ff224b4c55aa4c (patch) | |
tree | 9ae43bde917ba1ee45ae50b320c6fa0fc44d3e4f /fs/xfs/xfs_exchrange.c | |
parent | fc233f1fb0588a3e1a06cd7389f1ca6310548fa5 (diff) | |
download | linux-bde86b42d2825db42749ad1822ff224b4c55aa4c.tar.gz linux-bde86b42d2825db42749ad1822ff224b4c55aa4c.tar.bz2 linux-bde86b42d2825db42749ad1822ff224b4c55aa4c.zip |
xfs: factor out a xfs_growfs_check_rtgeom helper
Split the check that the rtsummary fits into the log into a separate
helper, and use xfs_growfs_rt_alloc_fake_mount to calculate the new RT
geometry.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
[djwong: avoid division for the 0-rtx growfs check]
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_exchrange.c')
0 files changed, 0 insertions, 0 deletions