aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
1844 return; 1844 return;
1845 } 1845 }
1846 if (RPC_IS_SOFT(task)) { 1846 if (RPC_IS_SOFT(task)) {
1847 if (clnt->cl_chatty) 1847 if (clnt->cl_chatty) {
1848 rcu_read_lock(); 1848 rcu_read_lock();
1849 printk(KERN_NOTICE "%s: server %s not responding, timed out\n", 1849 printk(KERN_NOTICE "%s: server %s not responding, timed out\n",
1850 clnt->cl_protname, 1850 clnt->cl_protname,
1851 rcu_dereference(clnt->cl_xprt)->servername); 1851 rcu_dereference(clnt->cl_xprt)->servername);
1852 rcu_read_unlock(); 1852 rcu_read_unlock();
1853 }
1853 if (task->tk_flags & RPC_TASK_TIMEOUT) 1854 if (task->tk_flags & RPC_TASK_TIMEOUT)
1854 rpc_exit(task, -ETIMEDOUT); 1855 rpc_exit(task, -ETIMEDOUT);
1855 else 1856 else