Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177187
b: refs/heads/master
c: 57ecb34
h: refs/heads/master
i:
  177185: 2aa0cd9
  177183: ff6269f
v: v3
  • Loading branch information
J. Bruce Fields committed Dec 14, 2009
1 parent 02f5d72 commit 9d484ef
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 864f0f61f829bac5f150a903aad9619322a25424
refs/heads/master: 57ecb34febc4c133ca0ccc7817796605a78a01d3
2 changes: 1 addition & 1 deletion trunk/fs/nfsd/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ do_open_permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfs
accmode |= NFSD_MAY_READ;
if (open->op_share_access & NFS4_SHARE_ACCESS_WRITE)
accmode |= (NFSD_MAY_WRITE | NFSD_MAY_TRUNC);
if (open->op_share_deny & NFS4_SHARE_DENY_WRITE)
if (open->op_share_deny & NFS4_SHARE_DENY_READ)
accmode |= NFSD_MAY_WRITE;

status = fh_verify(rqstp, current_fh, S_IFREG, accmode);
Expand Down

0 comments on commit 9d484ef

Please sign in to comment.