Skip to contentSkip to conversation

SUNRPC: Use dprint_status() macro in call_decode()

PATCH In review Vasily Averin 1 participant 1 message Jun 2, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 SUNRPC: Use dprint_status() macro in call_decode()

common dprint_status() macro is used in all callbacks but not in call_decode()

---
 net/sunrpc/clnt.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
net/sunrpc/clnt.c +1 -2
index b84d739..ab55369 100644
@@ -1548,8 +1548,7 @@ call_decode(struct rpc_task *task)
 	kxdrdproc_t	decode = task->tk_msg.rpc_proc->p_decode;
 	__be32		*p;
 
-	dprintk("RPC: %5u call_decode (status %d)\n",
-			task->tk_pid, task->tk_status);
+	dprint_status(task);
 
 	if (task->tk_flags & RPC_CALL_MAJORSEEN) {
 		if (clnt->cl_chatty)
Signature · 1 line
1.7.4.1