Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29769
b: refs/heads/master
c: f9022f6
h: refs/heads/master
i:
  29767: 0eb21dd
v: v3
  • Loading branch information
Ian Kent authored and Linus Torvalds committed Jun 25, 2006
1 parent a901347 commit 71540ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a2f20c7c274b6241767330c902b3111b9326d901
refs/heads/master: f9022f66336b8ad680884d4810f1c421fff899e3
6 changes: 6 additions & 0 deletions trunk/fs/autofs4/expire.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@ static int autofs4_tree_busy(struct vfsmount *mnt,
struct autofs_info *ino = autofs4_dentry_ino(p);
unsigned int ino_count = atomic_read(&ino->count);

/*
* Clean stale dentries below that have not been
* invalidated after a mount fail during lookup
*/
d_invalidate(p);

/* allow for dget above and top is already dgot */
if (p == top)
ino_count += 2;
Expand Down

0 comments on commit 71540ab

Please sign in to comment.