Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145114
b: refs/heads/master
c: 7ee2cb7
h: refs/heads/master
v: v3
  • Loading branch information
Frank Filz authored and Linus Torvalds committed May 19, 2009
1 parent 973f633 commit 39a82ae
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 363383277081ce831642b72df40932ee05ce40a2
refs/heads/master: 7ee2cb7f32b299c2b06a31fde155457203e4b7dd
3 changes: 2 additions & 1 deletion trunk/fs/nfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -1943,7 +1943,8 @@ int nfs_permission(struct inode *inode, int mask)
case S_IFREG:
/* NFSv4 has atomic_open... */
if (nfs_server_capable(inode, NFS_CAP_ATOMIC_OPEN)
&& (mask & MAY_OPEN))
&& (mask & MAY_OPEN)
&& !(mask & MAY_EXEC))
goto out;
break;
case S_IFDIR:
Expand Down

0 comments on commit 39a82ae

Please sign in to comment.