mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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>
This commit is contained in:
parent
5a3c9d7134
commit
792c95dd51
1 changed files with 13 additions and 8 deletions
Loading…
Add table
Add a link
Reference in a new issue