Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217185
b: refs/heads/master
c: 35b61e6
h: refs/heads/master
i:
  217183: 763f3c4
v: v3
  • Loading branch information
Benny Halevy authored and Trond Myklebust committed Oct 24, 2010
1 parent 0997980 commit 87e20da
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 3c9101a0575f6078191dae6bb91a834c6aac3557
refs/heads/master: 35b61e63323ccf5fdcdd74b11751b58392c9cce1
7 changes: 7 additions & 0 deletions trunk/include/linux/sunrpc/xdr.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@ xdr_decode_hyper(__be32 *p, __u64 *valp)
return p + 2;
}

static inline __be32 *
xdr_decode_opaque_fixed(__be32 *p, void *ptr, unsigned int len)
{
memcpy(ptr, p, len);
return p + XDR_QUADLEN(len);
}

/*
* Adjust kvec to reflect end of xdr'ed data (RPC client XDR)
*/
Expand Down

0 comments on commit 87e20da

Please sign in to comment.