]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tracing: Move d_max_latency out of CONFIG_FSNOTIFY protection
authorSteven Rostedt <rostedt@goodmis.org>
Tue, 10 Feb 2026 00:46:31 +0000 (19:46 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 10 Feb 2026 00:52:37 +0000 (19:52 -0500)
commitb4bade506b18eb2e5e34ac84f915d7ee6156d4e2
treee4db9fa7beaf5c72ff3606627b3167b6a77bc259
parentc4f1fe47b106e9200cbb1b8951bd75f036d53bd3
tracing: Move d_max_latency out of CONFIG_FSNOTIFY protection

The tracing_max_latency shouldn't be limited if CONFIG_FSNOTIFY is defined
or not and it was moved out of that protection to be always available with
CONFIG_TRACER_MAX_TRACE. All was moved out except the dentry descriptor
for it (d_max_latency) and it failed to build on some configs.

Move that out of the CONFIG_FSNOTIFY protection too.

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://patch.msgid.link/20260209194631.788bfc85@fedora
Fixes: ba73713da50e ("tracing: Clean up use of trace_create_maxlat_file()")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202602092133.fTdojd95-lkp@intel.com/
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace.h