aboutsummaryrefslogtreecommitdiffstats
path: root/fs/autofs4/expire.c
diff options
context:
space:
mode:
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,
113 DPRINTK("top %p %.*s", 113 DPRINTK("top %p %.*s",
114 top, (int) top->d_name.len, top->d_name.name); 114 top, (int) top->d_name.len, top->d_name.name);
115 115
116 /* Not a mountpoint - give up */
117 if (!d_mountpoint(top))
118 return 1;
119
120 /* If it's busy update the expiry counters */ 116 /* If it's busy update the expiry counters */
121 if (!may_umount_tree(mnt)) { 117 if (!may_umount_tree(mnt)) {
122 struct autofs_info *ino = autofs4_dentry_ino(top); 118 struct autofs_info *ino = autofs4_dentry_ino(top);