Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234292
b: refs/heads/master
c: ce05254
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Mar 15, 2011
1 parent 04dccf7 commit 416ec78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 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: bd92d7fed877ed1e6997e4f3f13dbcd872947653
refs/heads/master: ce0525449da56444948c368f52e10f3db0465338
8 changes: 1 addition & 7 deletions trunk/fs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -1467,20 +1467,14 @@ static int link_path_walk(const char *name, struct nameidata *nd)
nd->last_type = type;
return 0;
}
err = walk_component(nd, &next, &this, type,
lookup_flags & LOOKUP_FOLLOW);
err = walk_component(nd, &next, &this, type, LOOKUP_FOLLOW);
if (err < 0)
return err;
if (err) {
err = do_follow_link(&next, nd);
if (err)
return err;
}
if (lookup_flags & LOOKUP_DIRECTORY) {
err = -ENOTDIR;
if (!nd->inode->i_op->lookup)
break;
}
return 0;
}
terminate_walk(nd);
Expand Down

0 comments on commit 416ec78

Please sign in to comment.