]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: use correct rtx count to block count conversion
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:24:27 +0000 (16:24 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:32 +0000 (18:01 -0800)
commitb15a12d4205091c12f3f923e4372626af8af2bdc
tree232b6c8990954bf07da41f99feef6567a8df4f26
parent595b5cecf6b28d5ea7ea21f692a309d09147c597
libxfs: use correct rtx count to block count conversion

Fix a place where we use the wrong conversion functions to convert
between a number of rt extents and a number of rt blocks.  This isn't
really necessary since userspace cannot allocate rt extents, but let's
not leave a logic bomb.

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