cifs: Add some missing xas_retry() calls
[linux-block.git] / fs / namei.c
index 5855dc6edbd5b60d831cdb62eec91f4974cdbc78..edfedfbccaef471e9eb6fe02a20df58069d9b6dc 100644 (file)
@@ -1459,11 +1459,11 @@ EXPORT_SYMBOL(follow_down_one);
  * point, the filesystem owning that dentry may be queried as to whether the
  * caller is permitted to proceed or not.
  */
-int follow_down(struct path *path)
+int follow_down(struct path *path, unsigned int flags)
 {
        struct vfsmount *mnt = path->mnt;
        bool jumped;
-       int ret = traverse_mounts(path, &jumped, NULL, 0);
+       int ret = traverse_mounts(path, &jumped, NULL, flags);
 
        if (path->mnt != mnt)
                mntput(mnt);
@@ -2865,7 +2865,7 @@ int path_pts(struct path *path)
 
        path->dentry = child;
        dput(parent);
-       follow_down(path);
+       follow_down(path, 0);
        return 0;
 }
 #endif