]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_db: fix printing of reverse mapping record blockcounts
authorDarrick J. Wong <djwong@kernel.org>
Wed, 23 Nov 2022 17:09:22 +0000 (09:09 -0800)
committerCarlos Maiolino <cem@kernel.org>
Fri, 9 Dec 2022 09:18:19 +0000 (10:18 +0100)
commite9dea7effca637e4417822acae1063de624b0eff
tree1b89b95603b6f632168579584db53c1dae2ec1be
parentb84d0823d5653391d8b2d4dcc8d1da40ebe41b28
xfs_db: fix printing of reverse mapping record blockcounts

FLDT_EXTLEN is the correct type for a 32-bit block count within an AG;
FLDT_REXTLEN is the type for a 21-bit file mapping block count.  This
code should have been using the first type, not the second.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
db/btblock.c