From: J. Bruce Fields Date: Wed, 12 Sep 2007 12:43:59 +0000 (-0400) Subject: knfsd: don't shutdown callbacks until nfsv4 client is freed X-Git-Tag: v2.6.24-rc1~1293^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b1a9b3163a83f52ea2ac333846d4dfd2c4edd90;p=pandora-kernel.git 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 --- Reading git-diff-tree failed