summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2026-09-22 23:03:20 -0700
committerCarlos Maiolino <cem@kernel.org>2026-10-05 12:05:29 +0200
commitf60a2ef8d8a7ac6dedf4d0c3325cc3fc2fe0d948 (patch)
tree9b3b390c73571c152422ff2bd1c884033e367cd3 /tools/perf/scripts/python
parent559c9d4259aa4f0a3fc251c4c9ef6aa0c2d08116 (diff)
xfs: fix unnecessary dapos truncation in xchk_dir_walk
LOLLM points out that the all the implementations of xchk_dirent_fn can handle a signed @dapos parameter, so the truncation here breaks the information captured in scrub tracepoints if the directory is very large. I don't think it ever made sense to do the truncation for the VFS readdir code for programs that can handle 64-bit offsets, but commit 15440319767942 has been around for 17 years without complaints so I'll leave that alone. Stumbled-over: 15440319767942 ("[XFS] truncate readdir offsets to signed 32 bit values") Cc: stable@vger.kernel.org # v6.4 Fixes: 4c233b5c4f29df ("xfs: streamline the directory iteration code for scrub") Signed-off-by: Darrick J. Wong <djwong@kernel.org> Assisted-by: LOLLM # finding obvious bugs Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions