summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4callback.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2021-05-14 21:57:02 +0200
committerJ. Bruce Fields <bfields@redhat.com>2021-05-18 19:44:04 +0200
commit3c92fba557c622a53fc166b76dede92863354da1 (patch)
tree9d91cd1367047f512e9bdd19c107dcc5ef697a84 /fs/nfsd/nfs4callback.c
parentNFSD: Remove spurious cb_setup_err tracepoint (diff)
downloadlinux-3c92fba557c622a53fc166b76dede92863354da1.tar.xz
linux-3c92fba557c622a53fc166b76dede92863354da1.zip
NFSD: Enhance the nfsd_cb_setup tracepoint
Display the transport protocol and authentication flavor so admins can see what they might be getting wrong. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4callback.c')
-rw-r--r--fs/nfsd/nfs4callback.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c
index 15ba16c54793..c2a2a58b3581 100644
--- a/fs/nfsd/nfs4callback.c
+++ b/fs/nfsd/nfs4callback.c
@@ -939,7 +939,8 @@ static int setup_callback_client(struct nfs4_client *clp, struct nfs4_cb_conn *c
}
clp->cl_cb_client = client;
clp->cl_cb_cred = cred;
- trace_nfsd_cb_setup(clp);
+ trace_nfsd_cb_setup(clp, rpc_peeraddr2str(client, RPC_DISPLAY_NETID),
+ args.authflavor);
return 0;
}