]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: check that rtblock extents do not break rtsupers or rtgroups
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:19:19 +0000 (20:19 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:39 +0000 (13:38 -0800)
commit9bb512734722d2815bb79e27850dddeeff10db90
tree8d30a174db90b64a12529197adf22f060271a6fc
parent8edde94d640153d645f85b94b2e1af8872c11ac8
xfs: check that rtblock extents do not break rtsupers or rtgroups

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>
fs/xfs/libxfs/xfs_types.c