commit | 76407f76e0f71428f3c31faff004bff87fea51ba | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@citi.umich.edu> | Tue Jun 22 14:10:14 2010 -0400 |
committer | J. Bruce Fields <bfields@citi.umich.edu> | Tue Jun 22 17:19:28 2010 -0400 |
tree | e8bbc8e7e542980633a05b49a13242bdb9e7651c | |
parent | 68a4b48ce6cb73a9643bae6dd3e0f062e3fd8ef7 [diff] [blame] |
nfsd4; fix session reference count leak Note the session has to be put() here regardless of what happens to the client. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index ac17a70..835924f 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c
@@ -3325,6 +3325,7 @@ } /* Renew the clientid on success and on replay */ release_session_client(cs->session); + nfsd4_put_session(cs->session); } return 1; }