]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.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>
Tue, 24 Dec 2024 02:01:31 +0000 (18:01 -0800)
commitfdaaa0cb7a0c2d7767f8868f404d76c4127a1ec4
tree8800e788485261ff5d593f4d94a6816ec250e758
parent6713ab810c4edf5daa8367b949c91c4ef605b0d9
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