NFSD: Fix TP_printk() format specifier in nfsd_clid_class
authorChuck Lever <chuck.lever@oracle.com>
Fri, 14 May 2021 19:55:17 +0000 (15:55 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 18 May 2021 17:44:02 +0000 (13:44 -0400)
commita948b1142cae66785521a389cab2cce74069b547
tree2f1cb5fe659de17328e17e9bbb4e58d2697b1d88
parentd07f6ca923ea0927a1024dfccafc5b53b61cfecc
NFSD: Fix TP_printk() format specifier in nfsd_clid_class

Since commit 9a6944fee68e ("tracing: Add a verifier to check string
pointers for trace events"), which was merged in v5.13-rc1,
TP_printk() no longer tacitly supports the "%.*s" format specifier.

These are low value tracepoints, so just remove them.

Reported-by: David Wysochanski <dwysocha@redhat.com>
Fixes: dd5e3fbc1f47 ("NFSD: Add tracepoints to the NFSD state management code")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
fs/nfsd/trace.h