mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
SUNRPC: Partial revert of commit 168e4b39d1
Partially revert commit (SUNRPC: add WARN_ON_ONCE for potential deadlock). The looping behaviour has been tracked down to a knownn issue with workqueues, and a workaround has now been implemented. Signed-off-by: Trond Myklebust <[email protected]> Cc: Weston Andros Adamson <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Bruce Fields <[email protected]> Cc: [email protected] [>= 3.7]
This commit is contained in:
parent
6db6dd7d3f
commit
360e1a5349
1 changed files with 0 additions and 5 deletions
|
|
@ -610,11 +610,6 @@ EXPORT_SYMBOL_GPL(rpc_killall_tasks);
|
|||
*/
|
||||
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();
|
||||
|
||||
dprintk_rcu("RPC: shutting down %s client for %s\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue