commit | d4e19e70276a320bbc01b76fb50b5c4962ff523a | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Mon Jun 30 11:48:42 2014 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Wed Jul 09 20:55:00 2014 -0400 |
tree | 094dfc4d784f9b53dff40de5bc3ecddfd40bb6fe | |
parent | fd44907c2d8f0647903d0c55520a34e24eeeb1cd [diff] |
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>