]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: check that rtblock extents do not break rtsupers or rtgroups
authorDarrick J. Wong <djwong@kernel.org>
Mon, 25 Nov 2024 21:14:21 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:29 +0000 (18:01 -0800)
commit74dd0d11a449844edd447fc70620889e44f5403b
tree5d867113a78ac6b30c81e0ed5e7b9dab1b3afd26
parent4215af60f6d34baa329b9dd48f280d816cc724c3
xfs: check that rtblock extents do not break rtsupers or rtgroups

Source kernel commit: 9bb512734722d2815bb79e27850dddeeff10db90

Check that rt block pointers do not point to the realtime superblock and
that allocated rt space extents do not cross rtgroup boundaries.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_types.c