diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2007-09-12 08:43:59 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2007-10-09 18:31:57 -0400 |
commit | 1b1a9b3163a83f52ea2ac333846d4dfd2c4edd90 (patch) | |
tree | bfaaa512b4efa08bed800330f654ba9637dd2f58 /fs/nfsd/nfs4callback.c | |
parent | 0272e1fd9f4fa8a43357c168e081744f99e67195 (diff) |
knfsd: don't shutdown callbacks until nfsv4 client is freed
If a callback still holds a reference on the client, then it may be
about to perform an rpc call, so it isn't safe to call rpc_shutdown().
(Though rpc_shutdown() does wait for any outstanding rpc's, it can't
know if a new rpc is about to be issued with that client.)
So, wait to shutdown the rpc_client until the reference count on the
client has gone to zero.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/nfs4callback.c')
0 files changed, 0 insertions, 0 deletions