Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92899
b: refs/heads/master
c: 099bd05
h: refs/heads/master
i:
  92897: a3a0c56
  92895: 13179e3
v: v3
  • Loading branch information
Chuck Lever authored and Trond Myklebust committed Mar 19, 2008
1 parent cbf09a8 commit ea9d186
Show file tree
Hide file tree
Showing 2 changed files with 10 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: f34ec991ae0f015f5cdc51ad46c3a317ffae2466
refs/heads/master: 099bd05f27ff24a3041d54e7ed42d2eb681484b9
9 changes: 9 additions & 0 deletions trunk/fs/lockd/mon.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,15 @@ nsm_create(void)
* XDR functions for NSM.
*/

static __be32 *xdr_encode_nsm_string(__be32 *p, char *string)
{
size_t len = strlen(string);

if (len > SM_MAXSTRLEN)
len = SM_MAXSTRLEN;
return xdr_encode_opaque(p, string, len);
}

static __be32 *
xdr_encode_common(struct rpc_rqst *rqstp, __be32 *p, struct nsm_args *argp)
{
Expand Down

0 comments on commit ea9d186

Please sign in to comment.