mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-31 05:15:34 +00:00
xfs: factor out a xfs_validate_rt_geometry helper
Split the RT geometry validation in the early mount code into a helper than can be reused by repair (from which this code was apparently originally stolen anyway). Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> [djwong: u64 return value for calc_rbmblocks] Signed-off-by: Darrick J. Wong <djwong@kernel.org>
This commit is contained in:
parent
021d9c107e
commit
6529eef810
2 changed files with 36 additions and 29 deletions
Loading…
Add table
Add a link
Reference in a new issue