]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: move the min and max group block numbers to xfs_group
authorDarrick J. Wong <djwong@kernel.org>
Mon, 25 Nov 2024 21:14:26 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 28 Nov 2024 02:33:15 +0000 (18:33 -0800)
commit7544304c7b958befb8cfd209ed89fb9ee2535eb6
treeb5f10e9eca8a962671cde8aa50833b755ac409ec
parent87fbe764f0c5fe07666e6331198ad88c89a7536f
xfs: move the min and max group block numbers to xfs_group

Source kernel commit: e0b5b97dde8e4737d06cb5888abd88373abc22df

Move the min and max agblock numbers to the generic xfs_group structure
so that we can start building validators for extents within an rtgroup.
While we're at it, use check_add_overflow for the extent length
computation because that has much better overflow checking.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/init.c
libxfs/xfs_ag.c
libxfs/xfs_ag.h
libxfs/xfs_group.h
libxfs/xfs_ialloc_btree.c
libxfs/xfs_rtgroup.c
libxfs/xfs_rtgroup.h