summaryrefslogtreecommitdiff
path: root/fs/autofs4/expire.c
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2006-03-27 13:14:58 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-27 20:44:41 +0400
commit871f94344cea36b2ce91231f442f9f9298529712 (patch)
tree951865804407af1afcd7e84f1c152236302bb7f4 /fs/autofs4/expire.c
parent3370c74b2e147169d5bba6665e03d3281f5795ed (diff)
downloadlinux-871f94344cea36b2ce91231f442f9f9298529712.tar.xz
[PATCH] autofs4: follow_link missing functionality
This functionality is also need for operation of autofs v5 direct mounts. Signed-off-by: Ian Kent <raven@themaw.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/autofs4/expire.c')
-rw-r--r--fs/autofs4/expire.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/autofs4/expire.c b/fs/autofs4/expire.c
index 08e33218a64a..b8ce02607d66 100644
--- a/fs/autofs4/expire.c
+++ b/fs/autofs4/expire.c
@@ -113,10 +113,6 @@ static int autofs4_direct_busy(struct vfsmount *mnt,
DPRINTK("top %p %.*s",
top, (int) top->d_name.len, top->d_name.name);
- /* Not a mountpoint - give up */
- if (!d_mountpoint(top))
- return 1;
-
/* If it's busy update the expiry counters */
if (!may_umount_tree(mnt)) {
struct autofs_info *ino = autofs4_dentry_ino(top);