I just checked the stable/linux-3.7.y branch -- this patch is not needed.

Thanks,
-dros

On Jan 14, 2013, at 12:38 PM, <[email protected]>
 wrote:

> 
> The patch below does not apply to the 3.7-stable tree.
> If someone wants it applied there, or to any other stable or longterm
> tree, then please email the backport, including the original git commit
> id to <[email protected]>.
> 
> thanks,
> 
> greg k-h
> 
> ------------------ original commit in Linus's tree ------------------
> 
>> From 360e1a534901592b289ba8768fc71b6e6ad49070 Mon Sep 17 00:00:00 2001
> From: Trond Myklebust <[email protected]>
> Date: Fri, 4 Jan 2013 12:50:30 -0500
> Subject: [PATCH] SUNRPC: Partial revert of commit
> 168e4b39d1afb79a7e3ea6c3bb246b4c82c6bdb9
> 
> 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]
> 
> diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c
> index 822f020..1915ffe 100644
> --- a/net/sunrpc/clnt.c
> +++ b/net/sunrpc/clnt.c
> @@ -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",
> 

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to