|
@@ -610,11 +610,6 @@ EXPORT_SYMBOL_GPL(rpc_killall_tasks);
|
|
|
*/
|
|
*/
|
|
|
void rpc_shutdown_client(struct rpc_clnt *clnt)
|
|
void rpc_shutdown_client(struct rpc_clnt *clnt)
|
|
|
{
|
|
{
|
|
|
- /*
|
|
|
|
|
- * To avoid deadlock, never call rpc_shutdown_client from a
|
|
|
|
|
- * workqueue context!
|
|
|
|
|
- */
|
|
|
|
|
- WARN_ON_ONCE(current->flags & PF_WQ_WORKER);
|
|
|
|
|
might_sleep();
|
|
might_sleep();
|
|
|
|
|
|
|
|
dprintk_rcu("RPC: shutting down %s client for %s\n",
|
|
dprintk_rcu("RPC: shutting down %s client for %s\n",
|