projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0add3e8
)
sunrpc: clnt: Add missing braces
author
Joe Perches
<
[email protected]
>
Wed, 18 Jul 2012 18:17:11 +0000
(11:17 -0700)
committer
Trond Myklebust
<
[email protected]
>
Mon, 30 Jul 2012 21:58:08 +0000
(17:58 -0400)
Add a missing set of braces that commit
4e0038b6b24
("SUNRPC: Move clnt->cl_server into struct rpc_xprt")
forgot.
Signed-off-by: Joe Perches <
[email protected]
>
Signed-off-by: Trond Myklebust <
[email protected]
>
Cc:
[email protected]
[>= 3.4]
net/sunrpc/clnt.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/clnt.c
b/net/sunrpc/clnt.c
index f56f045778aedf4a0da1fcf2566eacf69c7c6c8a..aaf70aa659043b6846962994cfc38ee069110f82 100644
(file)
--- 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