aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2010-06-22 14:10:14 -0400
committerJ. Bruce Fields <bfields@citi.umich.edu>2010-06-22 17:19:28 -0400
commit76407f76e0f71428f3c31faff004bff87fea51ba (patch)
treee8bbc8e7e542980633a05b49a13242bdb9e7651c /fs/nfsd/nfs4state.c
parentnfsd4: don't bother storing callback reply tag (diff)
downloadlinux-dev-76407f76e0f71428f3c31faff004bff87fea51ba.tar.xz
linux-dev-76407f76e0f71428f3c31faff004bff87fea51ba.zip
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>
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r--fs/nfsd/nfs4state.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 117670864af0..5a69ee69b44f 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -714,7 +714,6 @@ release_session_client(struct nfsd4_session *session)
} else
renew_client_locked(clp);
spin_unlock(&client_lock);
- nfsd4_put_session(session);
}
/* must be called under the client_lock */