]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - libxfs/xfs_rtbitmap.h
xfs: create rt extent rounding helpers for realtime extent blocks
authorDarrick J. Wong <djwong@kernel.org>
Mon, 12 Feb 2024 14:23:20 +0000 (15:23 +0100)
committerCarlos Maiolino <cem@kernel.org>
Thu, 15 Feb 2024 11:56:43 +0000 (12:56 +0100)
commita5dc53fefdf8c2517ed472080a118dd05a826853
treeae98c0a01153e68184870136dc4d9ecdee7980b1
parentb261e7937f6aacf3f7a5099cd98046b2af8c5519
xfs: create rt extent rounding helpers for realtime extent blocks

Source kernel commit: 5f57f7309d9ab9d24d50c5707472b1ed8af4eabc

Create a pair of functions to round rtblock numbers up or down to the
nearest rt extent.

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