summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4callback.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2010-10-12 19:55:25 -0400
committerJ. Bruce Fields <bfields@redhat.com>2010-10-21 10:11:56 -0400
commit792c95dd519c54d6b0fd6401b3da7ea67b0d6b72 (patch)
tree1bd872c92be9fcc8790e5c68d8acb2ababc0b241 /fs/nfsd/nfs4callback.c
parent5a3c9d71343cf27b7afef24ed312368d48dada09 (diff)
downloadop-kernel-dev-792c95dd519c54d6b0fd6401b3da7ea67b0d6b72.zip
op-kernel-dev-792c95dd519c54d6b0fd6401b3da7ea67b0d6b72.tar.gz
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/nfs4callback.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud