commit | 792c95dd519c54d6b0fd6401b3da7ea67b0d6b72 | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@redhat.com> | Tue Oct 12 19:55:25 2010 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Thu Oct 21 10:11:56 2010 -0400 |
tree | 1bd872c92be9fcc8790e5c68d8acb2ababc0b241 | |
parent | 5a3c9d71343cf27b7afef24ed312368d48dada09 [diff] |
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>