Fix bug that, assuming a/ is a root of NFS filesystem mounted on autofs,
prevented "mv a/from a/to" from working, while "cd a && mv from to" was ok. PR: 192948 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
24a08d303e
commit
7cb570d0ae
@ -276,9 +276,6 @@ autofs_lookup(struct vop_lookup_args *ap)
|
||||
}
|
||||
}
|
||||
|
||||
if (cnp->cn_nameiop == RENAME)
|
||||
return (EOPNOTSUPP);
|
||||
|
||||
AUTOFS_LOCK(amp);
|
||||
error = autofs_node_find(anp, cnp->cn_nameptr, cnp->cn_namelen, &child);
|
||||
if (error != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user