Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333115
b: refs/heads/master
c: 8a9a8b8
h: refs/heads/master
i:
  333113: 44dc90e
  333111: 231f043
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Sep 26, 2012
1 parent c68c968 commit cf2541c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 62d98c935456ee121b03d6a68aa3091a04085b7e
refs/heads/master: 8a9a8b8332b92b13316cf49685b5dc5257cfe115
2 changes: 2 additions & 0 deletions trunk/net/sunrpc/xdr.c
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,8 @@ static unsigned int xdr_align_pages(struct xdr_stream *xdr, unsigned int len)
/* Truncate page data and move it into the tail */
if (buf->page_len > len)
xdr_shrink_pagelen(buf, buf->page_len - len);
else
len = buf->page_len;
xdr->nwords = XDR_QUADLEN(buf->len - cur);
return len;
}
Expand Down

0 comments on commit cf2541c

Please sign in to comment.