linux/fs/xfs/scrub
Darrick J. Wong e31c53a806 xfs: remove file_path tracepoint data
The xfile/xmbuf shmem file descriptions are no longer as detailed as
they were when online fsck was first merged, because moving to static
strings in commit 60382993a2 ("xfs: get rid of the
xchk_xfile_*_descr calls") removed a memory allocation and hence a
source of failure.

However this makes encoding the description in the tracepoints sort of a
waste of memory.  David Laight also points out that file_path doesn't
zero the whole buffer which causes exposure of stale trace bytes, and
Steven Rostedt wonders why we're not using a dynamic array for the file
path.

I don't think this is worth fixing, so let's just rip it out.

Cc: rostedt@goodmis.org
Cc: david.laight.linux@gmail.com
Link: https://lore.kernel.org/linux-xfs/20260323172204.work.979-kees@kernel.org/
Cc: stable@vger.kernel.org # v6.11
Fixes: 19ebc8f84e ("xfs: fix file_path handling in tracepoints")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
2026-03-26 14:25:23 +01:00
..
agb_bitmap.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
agb_bitmap.h
agheader_repair.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
agheader.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
agino_bitmap.h
alloc_repair.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
alloc.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
attr_repair.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
attr_repair.h
attr.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
attr.h
bitmap.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
bitmap.h
bmap_repair.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
bmap.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
btree.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
btree.h
common.c xfs: check return value of xchk_scrub_create_subord 2026-01-24 08:46:38 -08:00
common.h xfs: get rid of the xchk_xfile_*_descr calls 2026-01-23 09:27:37 -08:00
cow_repair.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
dab_bitmap.h
dabtree.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
dabtree.h
dir_repair.c xfs: fix copy-paste error in previous fix 2026-02-25 13:58:48 +01:00
dir.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
dirtree_repair.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
dirtree.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
dirtree.h xfs: refactor directory tree root predicates 2024-11-05 13:38:33 -08:00
dqiterate.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
findparent.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
findparent.h
fsb_bitmap.h
fscounters_repair.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
fscounters.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
fscounters.h
health.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
health.h
ialloc_repair.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
ialloc.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
ino_bitmap.h
inode_repair.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
inode.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
iscan.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
iscan.h
listxattr.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
listxattr.h
metapath.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
newbt.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
newbt.h xfs: support repairing metadata btrees rooted in metadir inodes 2024-12-23 13:06:08 -08:00
nlinks_repair.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
nlinks.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
nlinks.h
off_bitmap.h
orphanage.c xfs: Fix error pointer dereference 2026-02-25 13:58:48 +01:00
orphanage.h
parent_repair.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
parent.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
quota_repair.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
quota.c xfs: scrub: unlock dquot before early return in quota scrub 2026-03-18 09:44:46 +01:00
quota.h
quotacheck_repair.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
quotacheck.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
quotacheck.h
rcbag_btree.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
rcbag_btree.h
rcbag.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
rcbag.h
readdir.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
readdir.h
reap.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
reap.h xfs: fix CoW forks for realtime files 2024-12-23 13:06:17 -08:00
refcount_repair.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
refcount.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
repair.c xfs: check return value of xchk_scrub_create_subord 2026-01-24 08:46:38 -08:00
repair.h xfs: remove static reap limits from repair.h 2025-09-05 08:48:23 -07:00
rgb_bitmap.h xfs: capture realtime CoW staging extents when rebuilding rt rmapbt 2024-12-23 13:06:16 -08:00
rgsuper.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
rmap_repair.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
rmap.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
rtb_bitmap.h xfs: fix CoW forks for realtime files 2024-12-23 13:06:17 -08:00
rtbitmap_repair.c xfs: get rid of the xchk_xfile_*_descr calls 2026-01-23 09:27:37 -08:00
rtbitmap.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
rtbitmap.h xfs: online repair of realtime bitmaps for a realtime group 2024-12-23 13:06:08 -08:00
rtrefcount_repair.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
rtrefcount.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
rtrmap_repair.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
rtrmap.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
rtsummary_repair.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
rtsummary.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
rtsummary.h xfs: replace m_rsumsize with m_rsumblocks 2024-09-01 08:58:19 -07:00
scrub.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
scrub.h xfs: constify feature checks 2025-01-13 14:57:08 +01:00
stats.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
stats.h
symlink_repair.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
symlink.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
tempexch.h xfs: online repair of realtime bitmaps for a realtime group 2024-12-23 13:06:08 -08:00
tempfile.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
tempfile.h xfs: move repair temporary files to the metadata directory tree 2024-11-05 13:38:34 -08:00
trace.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
trace.h xfs: remove file_path tracepoint data 2026-03-26 14:25:23 +01:00
xfarray.c xfs: directly include xfs_platform.h 2026-01-21 12:57:16 +01:00
xfarray.h
xfblob.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
xfblob.h
xfile.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
xfile.h
xfs_scrub.h