diff options
author | J. Bruce Fields <bfields@redhat.com> | 2010-10-13 01:55:25 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2010-10-21 16:11:56 +0200 |
commit | 792c95dd519c54d6b0fd6401b3da7ea67b0d6b72 (patch) | |
tree | 1bd872c92be9fcc8790e5c68d8acb2ababc0b241 /fs/nfsd/state.h | |
parent | nfsd4: separate callback change and callback probe (diff) | |
download | linux-792c95dd519c54d6b0fd6401b3da7ea67b0d6b72.tar.xz linux-792c95dd519c54d6b0fd6401b3da7ea67b0d6b72.zip |
nfsd4: delay session removal till free_client
Have unhash_client_locked() remove client and associated sessions from
global hashes, but delay further dismantling till free_client().
(After unhash_client_locked(), the only remaining references outside the
destroying thread are from any connections which have xpt_user callbacks
registered.)
This will simplify locking on session destruction.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
0 files changed, 0 insertions, 0 deletions