projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a dentry op to allow processes to be held during pathwalk transit
[linux-2.6-block.git]
/
fs
/
cifs
/
cifs_dfs_ref.c
diff --git
a/fs/cifs/cifs_dfs_ref.c
b/fs/cifs/cifs_dfs_ref.c
index c68a056f27fd52e29764c3a5524b4e4393a0e586..83479cf63f963a27d445715cb809fa15a0ef1627 100644
(file)
--- a/
fs/cifs/cifs_dfs_ref.c
+++ b/
fs/cifs/cifs_dfs_ref.c
@@
-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;