diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-08-06 11:56:42 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-10-09 17:15:44 -0400 |
commit | b595bb15061567441546be1af883b256bcdfff9c (patch) | |
tree | d20c54300e582f41650254ad769909125a6b3b7c /net/sunrpc | |
parent | adc24df81d6903d2d6280d77e936aa5e1670d7a1 (diff) | |
download | op-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.c | 3 |
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); |