Add a dentry op to allow processes to be held during pathwalk transit
[deliverable/linux.git] / fs / cifs / cifs_dfs_ref.c
index c68a056f27fd52e29764c3a5524b4e4393a0e586..83479cf63f963a27d445715cb809fa15a0ef1627 100644 (file)
@@ -273,10 +273,7 @@ static int add_mount_helper(struct vfsmount *newmnt, struct nameidata *nd,
                break;
        case -EBUSY:
                /* someone else made a mount here whilst we were busy */
-               while (d_mountpoint(nd->path.dentry) &&
-                      follow_down(&nd->path))
-                       ;
-               err = 0;
+               err = follow_down(&nd->path, false);
        default:
                mntput(newmnt);
                break;
This page took 0.023759 seconds and 5 git commands to generate.