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>
This commit is contained in:
J. Bruce Fields
2010-06-22 14:10:14 -04:00
parent 68a4b48ce6
commit 76407f76e0
2 changed files with 1 additions and 1 deletions

View File

@@ -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 */