]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: create helpers for rtbitmap block/wordcount computations
authorDarrick J. Wong <djwong@kernel.org>
Thu, 15 Feb 2024 08:25:47 +0000 (09:25 +0100)
committerCarlos Maiolino <cem@kernel.org>
Thu, 15 Feb 2024 11:56:43 +0000 (12:56 +0100)
commit3789ac0071b6f56e70e7f40134c8e6f7936daa2c
tree2aecf3f7804c2f5157626f227e4e4c7d8a252deb
parentbb16db6ad70c640d8d155e2d1879a332c3dede86
xfs: create helpers for rtbitmap block/wordcount computations

Source kernel commit: d0448fe76ac1a9ccbce574577a4c82246d17eec4

Create helper functions that compute the number of blocks or words
necessary to store the rt bitmap.

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.c
libxfs/xfs_rtbitmap.h
libxfs/xfs_trans_resv.c