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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From 9ece70e996409e91371275319b3bf673e25916e2 Mon Sep 17 00:00:00 2001
From: Vasily Averin <vvs@xxxxx>
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@xxxxx>
---
 net/sunrpc/clnt.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

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)
-- 
1.7.4.1


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux