Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257308
b: refs/heads/master
c: 78f32a9
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Jul 20, 2011
1 parent 8400b85 commit a6c51ae
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: 6f2861097467852f2271c2b40f9c3d1d01757048
refs/heads/master: 78f32a9b479e9b9f1ce2bf620a7602c1cdbc4c8e
2 changes: 1 addition & 1 deletion trunk/fs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -1554,7 +1554,7 @@ static int path_init(int dfd, const char *name, unsigned int flags,
if (!S_ISDIR(dentry->d_inode->i_mode))
goto fput_fail;

retval = file_permission(file, MAY_EXEC);
retval = exec_permission(dentry->d_inode, 0);
if (retval)
goto fput_fail;
}
Expand Down

0 comments on commit a6c51ae

Please sign in to comment.