summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-08-06 11:56:42 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-09 17:15:44 -0400
commitb595bb15061567441546be1af883b256bcdfff9c (patch)
treed20c54300e582f41650254ad769909125a6b3b7c /net/sunrpc
parentadc24df81d6903d2d6280d77e936aa5e1670d7a1 (diff)
downloadop-kernel-dev-b595bb15061567441546be1af883b256bcdfff9c.zip
op-kernel-dev-b595bb15061567441546be1af883b256bcdfff9c.tar.gz
SUNRPC: Fix a signed v. unsigned comparison in net/sunrpc/xprtsock.c
Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/xprtsock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c
index 4ae7eed..56b2267 100644
--- a/net/sunrpc/xprtsock.c
+++ b/net/sunrpc/xprtsock.c
@@ -523,7 +523,8 @@ static int xs_tcp_send_request(struct rpc_task *task)
struct rpc_xprt *xprt = req->rq_xprt;
struct sock_xprt *transport = container_of(xprt, struct sock_xprt, xprt);
struct xdr_buf *xdr = &req->rq_snd_buf;
- int status, retry = 0;
+ int status;
+ unsigned int retry = 0;
xs_encode_tcp_record_marker(&req->rq_snd_buf);
OpenPOWER on IntegriCloud