diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-10-26 13:30:59 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-01-30 02:05:43 -0500 |
commit | 322e2efe6224be5de2852a7fddfac5cf11317af3 (patch) | |
tree | e050d9041351e49266f89869f7af63573632eade /net | |
parent | 5d40a8a525c8165bafed233cf0f137e8d10d7e92 (diff) |
SUNRPC: temp var should match return type of xdr_skb_read_actor
The return type of xdr_skb_read_actor functions is size_t. This fixes a
nit I unwittingly overlooked in commit dd456471.
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/socklib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/socklib.c b/net/sunrpc/socklib.c index 97ac45f034d..a661a3acb37 100644 --- a/net/sunrpc/socklib.c +++ b/net/sunrpc/socklib.c | |||
@@ -72,7 +72,7 @@ ssize_t xdr_partial_copy_from_skb(struct xdr_buf *xdr, unsigned int base, struct | |||
72 | struct page **ppage = xdr->pages; | 72 | struct page **ppage = xdr->pages; |
73 | unsigned int len, pglen = xdr->page_len; | 73 | unsigned int len, pglen = xdr->page_len; |
74 | ssize_t copied = 0; | 74 | ssize_t copied = 0; |
75 | int ret; | 75 | size_t ret; |
76 | 76 | ||
77 | len = xdr->head[0].iov_len; | 77 | len = xdr->head[0].iov_len; |
78 | if (base < len) { | 78 | if (base < len) { |