aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/autofs4/root.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c
index 230bd2aad4f4..9bd16255dd9c 100644
--- a/fs/autofs4/root.c
+++ b/fs/autofs4/root.c
@@ -383,8 +383,10 @@ static struct vfsmount *autofs4_d_automount(struct path *path)
383 goto done; 383 goto done;
384 } 384 }
385 } else { 385 } else {
386 if (!simple_empty(dentry)) 386 if (!simple_empty(dentry)) {
387 spin_unlock(&sbi->fs_lock);
387 goto done; 388 goto done;
389 }
388 } 390 }
389 ino->flags |= AUTOFS_INF_PENDING; 391 ino->flags |= AUTOFS_INF_PENDING;
390 spin_unlock(&sbi->fs_lock); 392 spin_unlock(&sbi->fs_lock);