Skip to content
Commit 792c95dd authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

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: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 5a3c9d71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment