aboutsummaryrefslogtreecommitdiffstats
path: root/net
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
parentadc24df81d6903d2d6280d77e936aa5e1670d7a1 (diff)
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')
-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 4ae7eed7f617..56b226797ae3 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)
523 struct rpc_xprt *xprt = req->rq_xprt; 523 struct rpc_xprt *xprt = req->rq_xprt;
524 struct sock_xprt *transport = container_of(xprt, struct sock_xprt, xprt); 524 struct sock_xprt *transport = container_of(xprt, struct sock_xprt, xprt);
525 struct xdr_buf *xdr = &req->rq_snd_buf; 525 struct xdr_buf *xdr = &req->rq_snd_buf;
526 int status, retry = 0; 526 int status;
527 unsigned int retry = 0;
527 528
528 xs_encode_tcp_record_marker(&req->rq_snd_buf); 529 xs_encode_tcp_record_marker(&req->rq_snd_buf);
529 530