commit | 1b1a9b3163a83f52ea2ac333846d4dfd2c4edd90 | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@citi.umich.edu> | Wed Sep 12 08:43:59 2007 -0400 |
committer | J. Bruce Fields <bfields@citi.umich.edu> | Tue Oct 09 18:31:57 2007 -0400 |
tree | bfaaa512b4efa08bed800330f654ba9637dd2f58 | |
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>