diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-06-30 19:48:42 +0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-07-10 04:55:00 +0400 |
commit | d4e19e70276a320bbc01b76fb50b5c4962ff523a (patch) | |
tree | 094dfc4d784f9b53dff40de5bc3ecddfd40bb6fe /fs/nfsd/state.h | |
parent | fd44907c2d8f0647903d0c55520a34e24eeeb1cd (diff) | |
download | linux-d4e19e70276a320bbc01b76fb50b5c4962ff523a.tar.xz |
nfsd: Don't get a session reference without a client reference
If the client were to disappear from underneath us while we're holding
a session reference, things would be bad. This cleanup helps ensure
that it cannot, which will be a possibility when the client_mutex is
removed.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r-- | fs/nfsd/state.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index ab937b5f10ab..ff160e89701a 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -212,8 +212,6 @@ struct nfsd4_session { struct nfsd4_slot *se_slots[]; /* forward channel slots */ }; -extern void nfsd4_put_session(struct nfsd4_session *ses); - /* formatted contents of nfs4_sessionid */ struct nfsd4_sessionid { clientid_t clientid; |