Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1857
b: refs/heads/master
c: 634ee70
h: refs/heads/master
i:
  1855: feda4af
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Jun 6, 2005
1 parent ff05846 commit a5072ab
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 58c465eba4d7ed307c4c7cb3382ba7ee565e8858
refs/heads/master: 634ee7017b31e46e28c0bd2cb488213331bfd39a
4 changes: 1 addition & 3 deletions trunk/fs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,7 @@ static int do_lookup(struct nameidata *nd, struct qstr *name,
done:
path->mnt = mnt;
path->dentry = dentry;
__follow_mount(path);
return 0;

need_lookup:
Expand Down Expand Up @@ -789,8 +790,6 @@ static fastcall int __link_path_walk(const char * name, struct nameidata *nd)
err = do_lookup(nd, &this, &next);
if (err)
break;
/* Check mountpoints.. */
__follow_mount(&next);

err = -ENOENT;
inode = next.dentry->d_inode;
Expand Down Expand Up @@ -850,7 +849,6 @@ static fastcall int __link_path_walk(const char * name, struct nameidata *nd)
err = do_lookup(nd, &this, &next);
if (err)
break;
__follow_mount(&next);
inode = next.dentry->d_inode;
if ((lookup_flags & LOOKUP_FOLLOW)
&& inode && inode->i_op && inode->i_op->follow_link) {
Expand Down

0 comments on commit a5072ab

Please sign in to comment.