Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 322e2efe authored by Chuck Lever's avatar Chuck Lever Committed by Trond Myklebust
Browse files

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: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 5d40a8a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -72,7 +72,7 @@ ssize_t xdr_partial_copy_from_skb(struct xdr_buf *xdr, unsigned int base, struct
	struct page	**ppage = xdr->pages;
	struct page	**ppage = xdr->pages;
	unsigned int	len, pglen = xdr->page_len;
	unsigned int	len, pglen = xdr->page_len;
	ssize_t		copied = 0;
	ssize_t		copied = 0;
	int		ret;
	size_t		ret;


	len = xdr->head[0].iov_len;
	len = xdr->head[0].iov_len;
	if (base < len) {
	if (base < len) {