summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2026-09-22 22:59:11 -0700
committerCarlos Maiolino <cem@kernel.org>2026-10-05 10:04:42 +0200
commitaafe21c23ad8263251085291019d8860ddc51da9 (patch)
tree8a3fc09367de429cafe51bc3e1b754dff483e13f /tools/perf/scripts/python/stackcollapse.py
parenta800b926346c3aa2482421f5c0272280ee7d32e8 (diff)
xfs: fix ondisk symlink target validation in xrep_dinode_check_dfork
LOLLM noticed that online repair of a broken symlink file could fail unnecessarily if a local-format symlink target isn't null terminated. The ondisk target isn't required to be null terminated, but repair enforces that anyway because it uses the validator for the incore symlink target. (The incore buffer is always null-terminated). Fix this by reverting the changes to xfs_symlink_shortform_verify and adding an ondisk-specific helper in inode_repair.c. Cc: stable@vger.kernel.org # v6.8 Fixes: e744cef2060559 ("xfs: zap broken inode forks") Signed-off-by: Darrick J. Wong <djwong@kernel.org> Assisted-by: LOLLM # finding obvious bugs Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dgc@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions