Files
linux/fs/xfs/scrub
Dmitry Antipov fc0d192303 xfs: scrub: use kstrdup_const() for metapath scan setups
Except 'xchk_setup_metapath_rtginode()' case, 'path' argument of
'xchk_setup_metapath_scan()' is a compile-time constant. So it may
be reasonable to use 'kstrdup_const()' / 'kree_const()' to manage
'path' field of 'struct xchk_metapath' in attempt to reuse .rodata
instance rather than making a copy. Compile tested only.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
2025-09-22 12:57:34 +02:00
..
2024-04-15 14:58:53 -07:00
2023-05-26 13:52:19 -07:00
2024-11-05 13:38:34 -08:00
2024-11-05 13:38:34 -08:00
2024-11-05 13:38:34 -08:00
2025-03-10 14:29:44 +01:00
2025-03-03 08:16:45 -07:00
2023-12-15 10:03:40 -08:00
2024-11-05 13:38:34 -08:00
2023-12-15 10:03:45 -08:00
2024-04-26 11:21:46 +05:30
2024-04-23 07:47:02 -07:00
2024-12-23 13:06:17 -08:00
2025-01-13 14:57:08 +01:00
2024-12-23 13:06:14 -08:00
2024-04-15 14:58:58 -07:00
2024-04-15 14:58:53 -07:00
2024-04-15 14:58:55 -07:00
2024-04-15 14:58:53 -07:00
2024-04-23 16:55:18 -07:00