]> git.ipfire.org Git - thirdparty/linux.git/commit
xfs: remove unused event xfs_pagecache_inval
authorSteven Rostedt <rostedt@goodmis.org>
Mon, 16 Jun 2025 17:51:56 +0000 (13:51 -0400)
committerCarlos Maiolino <cem@kernel.org>
Thu, 24 Jul 2025 15:30:12 +0000 (17:30 +0200)
commit88fd451594a6b42f37aa2b3c3647b5d8973e2e5f
tree2e7112c3ab1a5e02fcd8eea1492c68ed310daa07
parentf1100605590a13d362efe20f734d882305eb6e64
xfs: remove unused event xfs_pagecache_inval

When the function xfs_flushinval_pages() was removed, it removed the only
caller to the trace event xfs_pagecache_inval. As trace events can take up
to 5K of memory in text and meta data each regardless if they are used or
not, they should not be created when unused. Remove the unused event.

Fixes: fb59581404ab ("xfs: remove xfs_flushinval_pages")
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