]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/nfsd/nfs4xdr.c
nfsd4: fix race on client shutdown
[karo-tx-linux.git] / fs / nfsd / nfs4xdr.c
index 229b3ac246e1c528abe9b3c92aea07eaf7975129..9b02b6652f2b5c16b63325925de4925ff0d0cd3a 100644 (file)
@@ -3685,7 +3685,6 @@ nfs4svc_encode_compoundres(struct svc_rqst *rqstp, __be32 *p, struct nfsd4_compo
                }
                /* Renew the clientid on success and on replay */
                release_session_client(cs->session);
-               nfsd4_put_session(cs->session);
        }
        return 1;
 }