summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2021-05-14 21:56:00 +0200
committerJ. Bruce Fields <bfields@redhat.com>2021-05-18 19:44:03 +0200
commitc41a9b7a906fb872f8b2b1a34d2a1d5ef7f94adb (patch)
tree2d7e12f8811ea3add2e1dce78dfbda999fb99ed6 /fs/nfsd/nfs4state.c
parentNFSD: Add nfsd_clid_reclaim_complete tracepoint (diff)
downloadlinux-c41a9b7a906fb872f8b2b1a34d2a1d5ef7f94adb.tar.xz
linux-c41a9b7a906fb872f8b2b1a34d2a1d5ef7f94adb.zip
NFSD: Add nfsd_clid_destroyed tracepoint
Record client-requested termination of client IDs. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r--fs/nfsd/nfs4state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 03f2770c815f..08ff643e96fb 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -3907,6 +3907,7 @@ nfsd4_destroy_clientid(struct svc_rqst *rqstp,
status = nfserr_wrong_cred;
goto out;
}
+ trace_nfsd_clid_destroyed(&clp->cl_clientid);
unhash_client_locked(clp);
out:
spin_unlock(&nn->client_lock);