aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r--fs/nfsd/nfs4state.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 7e1fcc3aade4..b205c7d7bc6a 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -643,6 +643,10 @@ shutdown_callback_client(struct nfs4_client *clp)
643 clp->cl_callback.cb_client = NULL; 643 clp->cl_callback.cb_client = NULL;
644 rpc_shutdown_client(clnt); 644 rpc_shutdown_client(clnt);
645 } 645 }
646 if (clp->cl_callback.cb_cred) {
647 put_rpccred(clp->cl_callback.cb_cred);
648 clp->cl_callback.cb_cred = NULL;
649 }
646} 650}
647 651
648static inline void 652static inline void