aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/autofs4/root.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c
index a7eaa32c6bae..40ca9360caef 100644
--- a/fs/autofs4/root.c
+++ b/fs/autofs4/root.c
@@ -317,7 +317,6 @@ static void *autofs4_follow_link(struct dentry *dentry, struct nameidata *nd)
317 * multi-mount with no root mount offset. So don't try to 317 * multi-mount with no root mount offset. So don't try to
318 * mount it again. 318 * mount it again.
319 */ 319 */
320 spin_lock(&autofs4_lock);
321 spin_lock(&dentry->d_lock); 320 spin_lock(&dentry->d_lock);
322 if (ino->flags & AUTOFS_INF_PENDING || 321 if (ino->flags & AUTOFS_INF_PENDING ||
323 (!d_mountpoint(dentry) && list_empty(&dentry->d_subdirs))) { 322 (!d_mountpoint(dentry) && list_empty(&dentry->d_subdirs))) {