summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-07-18 11:17:11 -0700
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-07-30 17:58:08 -0400
commitcac5d07e3ca696dcacfb123553cf6c722111cfd3 (patch)
treeedf07097e0366f4d9ff22247f35f3a66522c10a6 /net
parent0add3e8567a42b8137e26c0595a59f893d8592e0 (diff)
downloadtalos-op-linux-cac5d07e3ca696dcacfb123553cf6c722111cfd3.tar.gz
talos-op-linux-cac5d07e3ca696dcacfb123553cf6c722111cfd3.zip
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 <joe@perches.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: stable@vger.kernel.org [>= 3.4]
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/clnt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c
index f56f045778ae..aaf70aa65904 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
OpenPOWER on IntegriCloud