diff options
Diffstat (limited to 'fs/autofs4/expire.c')
-rw-r--r-- | fs/autofs4/expire.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/autofs4/expire.c b/fs/autofs4/expire.c index a7be57e39be7..8fa3895cda02 100644 --- a/fs/autofs4/expire.c +++ b/fs/autofs4/expire.c | |||
@@ -255,12 +255,6 @@ static int autofs4_tree_busy(struct vfsmount *mnt, | |||
255 | struct autofs_info *ino = autofs4_dentry_ino(p); | 255 | struct autofs_info *ino = autofs4_dentry_ino(p); |
256 | unsigned int ino_count = atomic_read(&ino->count); | 256 | unsigned int ino_count = atomic_read(&ino->count); |
257 | 257 | ||
258 | /* | ||
259 | * Clean stale dentries below that have not been | ||
260 | * invalidated after a mount fail during lookup | ||
261 | */ | ||
262 | d_invalidate(p); | ||
263 | |||
264 | /* allow for dget above and top is already dgot */ | 258 | /* allow for dget above and top is already dgot */ |
265 | if (p == top) | 259 | if (p == top) |
266 | ino_count += 2; | 260 | ino_count += 2; |