Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43751
b: refs/heads/master
c: 14d2b59
h: refs/heads/master
i:
  43749: d8e49ae
  43747: cbceb78
  43743: 4042183
v: v3
  • Loading branch information
Jesper Juhl authored and Linus Torvalds committed Dec 8, 2006
1 parent 55df6ee commit d0f612e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: cb65a5ba3dcef3184ef1ba026b1e268bd1a9323f
refs/heads/master: 14d2b59e8c1634ceb995097b162592b0af139578
8 changes: 4 additions & 4 deletions trunk/fs/nfsd/nfs3acl.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,19 +171,19 @@ static int nfs3svc_encode_getaclres(struct svc_rqst *rqstp, __be32 *p,
p = nfs3svc_encode_post_op_attr(rqstp, p, &resp->fh);
if (resp->status == 0 && dentry && dentry->d_inode) {
struct inode *inode = dentry->d_inode;
int w = nfsacl_size(
(resp->mask & NFS_ACL) ? resp->acl_access : NULL,
(resp->mask & NFS_DFACL) ? resp->acl_default : NULL);
struct kvec *head = rqstp->rq_res.head;
unsigned int base;
int n;
int w;

*p++ = htonl(resp->mask);
if (!xdr_ressize_check(rqstp, p))
return 0;
base = (char *)p - (char *)head->iov_base;

rqstp->rq_res.page_len = w;
rqstp->rq_res.page_len = w = nfsacl_size(
(resp->mask & NFS_ACL) ? resp->acl_access : NULL,
(resp->mask & NFS_DFACL) ? resp->acl_default : NULL);
while (w > 0) {
if (!rqstp->rq_respages[rqstp->rq_resused++])
return 0;
Expand Down

0 comments on commit d0f612e

Please sign in to comment.