2011-06-02 10:45:14

by Vasily Averin

[permalink] [raw]
Subject: [PATCHv2 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 <[email protected]>
---
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