]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: factor out a xfs_rt_check_size helper
authorChristoph Hellwig <hch@lst.de>
Tue, 30 Jul 2024 23:42:42 +0000 (16:42 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Mar 2025 15:16:44 +0000 (08:16 -0700)
commita581de0d613aa810c020edc1ea576c75fa5b3950
tree58050a8bee2cd651e2e094272837ff866e8ded12
parent272e20bb24dc895375ccc18a82596a7259b5a652
xfs: factor out a xfs_rt_check_size helper

Add a helper to check that the last block of a RT device is readable
to share the code between mount and growfs.  This also adds the mount
time overflow check to growfs and improves the error messages.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
fs/xfs/xfs_rtalloc.c