diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-08-17 09:49:42 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-08-19 10:07:08 -0700 |
commit | 3fd7cb845bee6281e060e695e99a03dba69b7a1d (patch) | |
tree | 184ee6bedf8bf1ea9bd0e971890443c52efa7682 /fs/xfs/scrub/bitmap.h | |
parent | a437b9b488e36e41026888fc0aa20ec83f39a643 (diff) |
xfs: fix incorrect unit conversion in scrub tracepoint
XFS_DADDR_TO_FSB converts a raw disk address (in units of 512b blocks)
to a raw disk address (in units of fs blocks). Unfortunately, the
xchk_block_error_class tracepoints incorrectly uses this to decode
xfs_daddr_t into segmented AG number and AG block addresses. Use the
correct translation code.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Diffstat (limited to 'fs/xfs/scrub/bitmap.h')
0 files changed, 0 insertions, 0 deletions