diff options
author | trasz <trasz@FreeBSD.org> | 2014-08-31 21:58:07 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2014-08-31 21:58:07 +0000 |
commit | 0e88a7f8bf0030b5bc4528eb2b73d55cea8d5742 (patch) | |
tree | ae555eab7be8bb815d0308c3999a58fd8aad62a1 /sys/fs/autofs | |
parent | c9c191f6b072a6e46b200423693b29c610d88f37 (diff) | |
download | FreeBSD-src-0e88a7f8bf0030b5bc4528eb2b73d55cea8d5742.zip FreeBSD-src-0e88a7f8bf0030b5bc4528eb2b73d55cea8d5742.tar.gz |
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
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) { |