]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
xfs: remove unused event xfs_attr_node_removename
authorSteven Rostedt <rostedt@goodmis.org>
Mon, 16 Jun 2025 17:51:53 +0000 (13:51 -0400)
committerCarlos Maiolino <cem@kernel.org>
Thu, 24 Jul 2025 15:30:12 +0000 (17:30 +0200)
When xfs_attri_remove_iter() was removed, so was the call to the trace
event xfs_attr_node_removename. As trace events can take up to 5K in
memory for text and meta data regardless if they are used or not, they
should not be created when unused. Remove the unused event.

Fixes: 59782a236b622 ("xfs: remove xfs_attri_remove_iter")
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_trace.h

index e684f0efecac665d6ec3c5f002b13721ac937160..4c2de3f923ddc2958db829065f34cbba7c35286c 100644 (file)
@@ -2468,7 +2468,6 @@ DEFINE_ATTR_EVENT(xfs_attr_leaf_toosmall);
 DEFINE_ATTR_EVENT(xfs_attr_node_addname);
 DEFINE_ATTR_EVENT(xfs_attr_node_get);
 DEFINE_ATTR_EVENT(xfs_attr_node_replace);
-DEFINE_ATTR_EVENT(xfs_attr_node_removename);
 
 DEFINE_ATTR_EVENT(xfs_attr_rmtval_get);