From: Joe Perches Date: Wed, 18 Jul 2012 18:17:11 +0000 (-0700) Subject: sunrpc: clnt: Add missing braces X-Git-Tag: upstream/snapshot3+hdmi~6910^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cac5d07e3ca696dcacfb123553cf6c722111cfd3;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git sunrpc: clnt: Add missing braces Add a missing set of braces that commit 4e0038b6b24 ("SUNRPC: Move clnt->cl_server into struct rpc_xprt") forgot. Signed-off-by: Joe Perches Signed-off-by: Trond Myklebust Cc: stable@vger.kernel.org [>= 3.4] --- diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index f56f045..aaf70aa 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c @@ -1844,12 +1844,13 @@ call_timeout(struct rpc_task *task) return; } if (RPC_IS_SOFT(task)) { - if (clnt->cl_chatty) + if (clnt->cl_chatty) { rcu_read_lock(); printk(KERN_NOTICE "%s: server %s not responding, timed out\n", clnt->cl_protname, rcu_dereference(clnt->cl_xprt)->servername); rcu_read_unlock(); + } if (task->tk_flags & RPC_TASK_TIMEOUT) rpc_exit(task, -ETIMEDOUT); else