Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320242
b: refs/heads/master
c: cac5d07
h: refs/heads/master
v: v3
  • Loading branch information
Joe Perches authored and Trond Myklebust committed Jul 30, 2012
1 parent f6ee8b7 commit 0b2f536
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0add3e8567a42b8137e26c0595a59f893d8592e0
refs/heads/master: cac5d07e3ca696dcacfb123553cf6c722111cfd3
3 changes: 2 additions & 1 deletion trunk/net/sunrpc/clnt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b2f536

Please sign in to comment.