summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2026-07-26 22:23:31 -0700
committerCarlos Maiolino <cem@kernel.org>2026-08-03 10:17:34 +0200
commit8af9cd79cdf6ee96ec610d707db22244fa21eb40 (patch)
treef6423d12bd593e0bde2a5ee535bdfcd86f7d37e7 /tools/perf/scripts/python/exported-sql-viewer.py
parent5fc643fb86599e29b38e7b2c2680b4b15bf8f772 (diff)
xfs: don't return EFSCORRUPTED when scrubbing corrupt parent pointers
LOLLM noticed that scrub sets the CORRUPT flag when xfs_parent_from_attr thinks it's been given a corrupt parent pointer. This eliminates the potential to repair the filesystem because that error code is bubbled up the call stack. Fix this by collapsing them all to ECANCELED in xchk_parent_pptr, which doesn't have that trait. Cc: stable@vger.kernel.org # v6.10 Fixes: 0d29a20fbdba89 ("xfs: scrub parent pointers") 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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions