]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: convert do_div calls to xfs_rtb_to_rtx helper calls
authorDarrick J. Wong <djwong@kernel.org>
Mon, 12 Feb 2024 14:22:20 +0000 (15:22 +0100)
committerCarlos Maiolino <cem@kernel.org>
Thu, 15 Feb 2024 11:56:43 +0000 (12:56 +0100)
commitb261e7937f6aacf3f7a5099cd98046b2af8c5519
tree8e2d4b6b4b560073e8edec81fd50c6e2a3eb5859
parent1dac259cfd50ab6992c8c6d5dea1253a37827761
xfs: convert do_div calls to xfs_rtb_to_rtx helper calls

Source kernel commit: 055641248f649b52620a5fe8774bea253690e057

Convert these calls to use the helpers, and clean up all these places
where the same variable can have different units depending on where it
is in the function.

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