aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4callback.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c
index 874a56a0801c..a4686326b5ae 100644
--- a/fs/nfsd/nfs4callback.c
+++ b/fs/nfsd/nfs4callback.c
@@ -761,8 +761,10 @@ static void _nfsd4_cb_recall(struct nfs4_delegation *dp)
761 .rpc_cred = callback_cred 761 .rpc_cred = callback_cred
762 }; 762 };
763 763
764 if (clnt == NULL) 764 if (clnt == NULL) {
765 nfs4_put_delegation(dp);
765 return; /* Client is shutting down; give up. */ 766 return; /* Client is shutting down; give up. */
767 }
766 768
767 args->args_op = dp; 769 args->args_op = dp;
768 msg.rpc_argp = args; 770 msg.rpc_argp = args;