]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: assert a valid limit in xfs_rtfind_forw
authorChristoph Hellwig <hch@lst.de>
Mon, 21 Oct 2024 00:10:42 +0000 (17:10 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 31 Oct 2024 22:45:02 +0000 (15:45 -0700)
commit39c5ade944006ed5cb8e657fa4be975ac58a888b
tree802ccd09d55d3e05c3af910fed4dfe3bfa188f4b
parenta9af23f75abb1f76913f14ae4810619cb3a2a9aa
xfs: assert a valid limit in xfs_rtfind_forw

Source kernel commit: 6d2db12d56a389b3e8efa236976f8dc3a8ae00f0

Protect against developers passing stupid limits when refactoring the
RT code once again.

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