Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232688
b: refs/heads/master
c: ee5dc77
h: refs/heads/master
v: v3
  • Loading branch information
Chuck Lever authored and Trond Myklebust committed Jan 25, 2011
1 parent 6fb5aed commit 807a1d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 839f7ad6932d95f4d5ae7267b95c574714ff3d5b
refs/heads/master: ee5dc7732bd557bae6d10873a0aac606d2c551fb
5 changes: 4 additions & 1 deletion trunk/fs/nfs/nfs3xdr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1328,10 +1328,13 @@ static void nfs3_xdr_enc_setacl3args(struct rpc_rqst *req,

encode_nfs_fh3(xdr, NFS_FH(args->inode));
encode_uint32(xdr, args->mask);

base = req->rq_slen;
if (args->npages != 0)
xdr_write_pages(xdr, args->pages, 0, args->len);
else
xdr_reserve_space(xdr, NFS_ACL_INLINE_BUFSIZE);

base = req->rq_slen;
error = nfsacl_encode(xdr->buf, base, args->inode,
(args->mask & NFS_ACL) ?
args->acl_access : NULL, 1, 0);
Expand Down

0 comments on commit 807a1d2

Please sign in to comment.