diff options
author | trasz <trasz@FreeBSD.org> | 2014-08-24 17:03:52 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2014-08-24 17:03:52 +0000 |
commit | bf5f21dde4e784fd1c07ddcdab78b4c1eff24b1b (patch) | |
tree | 4c9f4ba4469d820e7dd0a6aec5d365f42e5ae92e /sys/fs/autofs | |
parent | b7ae83282f2a14f984959709a4455542ce5e7270 (diff) | |
download | FreeBSD-src-bf5f21dde4e784fd1c07ddcdab78b4c1eff24b1b.zip FreeBSD-src-bf5f21dde4e784fd1c07ddcdab78b4c1eff24b1b.tar.gz |
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
Diffstat (limited to 'sys/fs/autofs')
-rw-r--r-- | sys/fs/autofs/autofs_vnops.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/fs/autofs/autofs_vnops.c b/sys/fs/autofs/autofs_vnops.c index c631f57..e0a75fa 100644 --- a/sys/fs/autofs/autofs_vnops.c +++ b/sys/fs/autofs/autofs_vnops.c @@ -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) { |