aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/rpcb_clnt.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2008-06-25 17:24:23 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-07-09 12:09:33 -0400
commit877fcf103982e52a59a1035378b4c0b8c63fe004 (patch)
tree779d0ab48d29347585522e20bc4ec9b0728b1ca8 /net/sunrpc/rpcb_clnt.c
parent5afc597c5f0bd184457e49b9a330fcb37b69db11 (diff)
SUNRPC: More useful debugging output for rpcb client
Clean up dprintk's in rpcb client's XDR decoder functions. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/rpcb_clnt.c')
-rw-r--r--net/sunrpc/rpcb_clnt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c
index e6fb21b19b86..cf2b91613ac6 100644
--- a/net/sunrpc/rpcb_clnt.c
+++ b/net/sunrpc/rpcb_clnt.c
@@ -438,7 +438,7 @@ static int rpcb_decode_getport(struct rpc_rqst *req, __be32 *p,
438 unsigned short *portp) 438 unsigned short *portp)
439{ 439{
440 *portp = (unsigned short) ntohl(*p++); 440 *portp = (unsigned short) ntohl(*p++);
441 dprintk("RPC: rpcb_decode_getport result %u\n", 441 dprintk("RPC: rpcb_decode_getport result %u\n",
442 *portp); 442 *portp);
443 return 0; 443 return 0;
444} 444}
@@ -447,8 +447,8 @@ static int rpcb_decode_set(struct rpc_rqst *req, __be32 *p,
447 unsigned int *boolp) 447 unsigned int *boolp)
448{ 448{
449 *boolp = (unsigned int) ntohl(*p++); 449 *boolp = (unsigned int) ntohl(*p++);
450 dprintk("RPC: rpcb_decode_set result %u\n", 450 dprintk("RPC: rpcb_decode_set: call %s\n",
451 *boolp); 451 (*boolp ? "succeeded" : "failed"));
452 return 0; 452 return 0;
453} 453}
454 454