Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190754
b: refs/heads/master
c: f742246
h: refs/heads/master
v: v3
  • Loading branch information
Ian Kent authored and Linus Torvalds committed May 10, 2010
1 parent 0ac2540 commit 0f4d177
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: b77b907fae863f3bc546a336a8bc5e660d371788
refs/heads/master: f7422464b57088071201cd94027662d8469f153b
5 changes: 2 additions & 3 deletions trunk/fs/autofs4/root.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,7 @@ static int try_to_fill_dentry(struct dentry *dentry, int flags)
}
/* Trigger mount for path component or follow link */
} else if (ino->flags & AUTOFS_INF_PENDING ||
autofs4_need_mount(flags) ||
current->link_count) {
autofs4_need_mount(flags)) {
DPRINTK("waiting for mount name=%.*s",
dentry->d_name.len, dentry->d_name.name);

Expand Down Expand Up @@ -262,7 +261,7 @@ static void *autofs4_follow_link(struct dentry *dentry, struct nameidata *nd)
spin_unlock(&dcache_lock);
spin_unlock(&sbi->fs_lock);

status = try_to_fill_dentry(dentry, 0);
status = try_to_fill_dentry(dentry, nd->flags);
if (status)
goto out_error;

Expand Down

0 comments on commit 0f4d177

Please sign in to comment.