Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cac5d07e authored by Joe Perches's avatar Joe Perches Committed by Trond Myklebust
Browse files

sunrpc: clnt: Add missing braces



Add a missing set of braces that commit 4e0038b6
("SUNRPC: Move clnt->cl_server into struct rpc_xprt")
forgot.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@vger.kernel.org [>= 3.4]
parent 0add3e85
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1844,12 +1844,13 @@ call_timeout(struct rpc_task *task)
		return;
		return;
	}
	}
	if (RPC_IS_SOFT(task)) {
	if (RPC_IS_SOFT(task)) {
		if (clnt->cl_chatty)
		if (clnt->cl_chatty) {
			rcu_read_lock();
			rcu_read_lock();
			printk(KERN_NOTICE "%s: server %s not responding, timed out\n",
			printk(KERN_NOTICE "%s: server %s not responding, timed out\n",
				clnt->cl_protname,
				clnt->cl_protname,
				rcu_dereference(clnt->cl_xprt)->servername);
				rcu_dereference(clnt->cl_xprt)->servername);
			rcu_read_unlock();
			rcu_read_unlock();
		}
		if (task->tk_flags & RPC_TASK_TIMEOUT)
		if (task->tk_flags & RPC_TASK_TIMEOUT)
			rpc_exit(task, -ETIMEDOUT);
			rpc_exit(task, -ETIMEDOUT);
		else
		else