diff mbox series

[RFC,20/21] NFSD: Rename nfsd_clid_class

Message ID 162066202093.94415.13015338146767016745.stgit@klimt.1015granger.net (mailing list archive)
State New
Headers show
Series NFSD callback and lease management observability | expand

Commit Message

Chuck Lever III May 10, 2021, 3:53 p.m. UTC
Clean up in preparation for subsequent patches.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---
 fs/nfsd/trace.h |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/fs/nfsd/trace.h b/fs/nfsd/trace.h
index 9567840f8580..523045c37749 100644
--- a/fs/nfsd/trace.h
+++ b/fs/nfsd/trace.h
@@ -537,7 +537,7 @@  DEFINE_EVENT(nfsd_net_class, nfsd_##name, \
 DEFINE_NET_EVENT(grace_start);
 DEFINE_NET_EVENT(grace_complete);
 
-DECLARE_EVENT_CLASS(nfsd_clid_class,
+DECLARE_EVENT_CLASS(nfsd_reclaim_class,
 	TP_PROTO(const struct nfsd_net *nn,
 		 unsigned int namelen,
 		 const unsigned char *namedata),
@@ -556,15 +556,15 @@  DECLARE_EVENT_CLASS(nfsd_clid_class,
 		__entry->boot_time, __entry->namelen, __get_str(name))
 )
 
-#define DEFINE_CLID_EVENT(name) \
-DEFINE_EVENT(nfsd_clid_class, nfsd_clid_##name, \
+#define DEFINE_RECLAIM_EVENT(name) \
+DEFINE_EVENT(nfsd_reclaim_class, nfsd_clid_##name, \
 	TP_PROTO(const struct nfsd_net *nn, \
 		 unsigned int namelen, \
 		 const unsigned char *namedata), \
 	TP_ARGS(nn, namelen, namedata))
 
-DEFINE_CLID_EVENT(find);
-DEFINE_CLID_EVENT(reclaim);
+DEFINE_RECLAIM_EVENT(find);
+DEFINE_RECLAIM_EVENT(reclaim);
 
 TRACE_EVENT(nfsd_clid_cred_mismatch,
 	TP_PROTO(