Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106365
b: refs/heads/master
c: 672b16b
h: refs/heads/master
i:
  106363: e0fa290
v: v3
  • Loading branch information
Al Viro committed Jul 27, 2008
1 parent d48519f commit 3e5be41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: b77b0646ef4efe31a7449bb3d9360fd00f95433d
refs/heads/master: 672b16b2f66c149888bd876a4f92342112205fe1
5 changes: 2 additions & 3 deletions trunk/fs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,7 @@ static struct dentry * cached_lookup(struct dentry * parent, struct qstr * name,
* short-cut DAC fails, then call permission() to do more
* complete permission check.
*/
static int exec_permission_lite(struct inode *inode,
struct nameidata *nd)
static int exec_permission_lite(struct inode *inode)
{
umode_t mode = inode->i_mode;

Expand Down Expand Up @@ -884,7 +883,7 @@ static int __link_path_walk(const char *name, struct nameidata *nd)
unsigned int c;

nd->flags |= LOOKUP_CONTINUE;
err = exec_permission_lite(inode, nd);
err = exec_permission_lite(inode);
if (err == -EAGAIN)
err = vfs_permission(nd, MAY_EXEC);
if (err)
Expand Down

0 comments on commit 3e5be41

Please sign in to comment.