diff mbox

[1/2] sunrpc: use dprint_status() macro in call_decode()

Message ID 4DE64082.4070604@parallels.com (mailing list archive)
State New, archived
Headers show

Commit Message

Vasily Averin June 1, 2011, 1:37 p.m. UTC
From 9ece70e996409e91371275319b3bf673e25916e2 Mon Sep 17 00:00:00 2001
From: Vasily Averin <vvs@sw.ru>
Date: Wed, 1 Jun 2011 16:23:59 +0400
Subject: [PATCH 1/2] sunrpc: use dprint_status() macro in call_decode()

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

Signed-off-by: Vasily Averin <vvs@sw.ru>
---
 net/sunrpc/clnt.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c
index b84d739..ab55369 100644
--- a/net/sunrpc/clnt.c
+++ b/net/sunrpc/clnt.c
@@ -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)