svn commit: r270904 - stable/10/sys/fs/autofs
Edward Tomasz Napierala
trasz at FreeBSD.org
Sun Aug 31 21:58:08 UTC 2014
Author: trasz
Date: Sun Aug 31 21:58:07 2014
New Revision: 270904
URL: http://svnweb.freebsd.org/changeset/base/270904
Log:
MFC r270507:
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
Sponsored by: The FreeBSD Foundation
Modified:
stable/10/sys/fs/autofs/autofs_vnops.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/fs/autofs/autofs_vnops.c
==============================================================================
--- stable/10/sys/fs/autofs/autofs_vnops.c Sun Aug 31 21:56:42 2014 (r270903)
+++ stable/10/sys/fs/autofs/autofs_vnops.c Sun Aug 31 21:58:07 2014 (r270904)
@@ -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) {
More information about the svn-src-stable
mailing list