summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4callback.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2021-05-14 21:56:56 +0200
committerJ. Bruce Fields <bfields@redhat.com>2021-05-18 19:44:04 +0200
commit9f57c6062bf3ce2c6ab9ba60040b34e8134ef259 (patch)
tree1c381c59cac6340dc08f69d5c1ddaebfa6dd5cec /fs/nfsd/nfs4callback.c
parentNFSD: Adjust cb_shutdown tracepoint (diff)
downloadlinux-9f57c6062bf3ce2c6ab9ba60040b34e8134ef259.tar.xz
linux-9f57c6062bf3ce2c6ab9ba60040b34e8134ef259.zip
NFSD: Remove spurious cb_setup_err tracepoint
This path is not really an error path, so the tracepoint I added there is just noise. 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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c
index ab1836381e22..15ba16c54793 100644
--- a/fs/nfsd/nfs4callback.c
+++ b/fs/nfsd/nfs4callback.c
@@ -915,10 +915,8 @@ static int setup_callback_client(struct nfs4_client *clp, struct nfs4_cb_conn *c
args.authflavor = clp->cl_cred.cr_flavor;
clp->cl_cb_ident = conn->cb_ident;
} else {
- if (!conn->cb_xprt) {
- trace_nfsd_cb_setup_err(clp, -EINVAL);
+ if (!conn->cb_xprt)
return -EINVAL;
- }
clp->cl_cb_conn.cb_xprt = conn->cb_xprt;
clp->cl_cb_session = ses;
args.bc_xprt = conn->cb_xprt;