aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2014-08-24 17:03:52 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2014-08-24 17:03:52 +0000
commit7cb570d0ae25a56954f5356bf2f7dea9e82691bc (patch)
tree4c9f4ba4469d820e7dd0a6aec5d365f42e5ae92e /sys
parent24a08d303e4491a9ada1309cce27c5d10560caa3 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/fs/autofs/autofs_vnops.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/fs/autofs/autofs_vnops.c b/sys/fs/autofs/autofs_vnops.c
index c631f57b2df42..e0a75fa62ad62 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) {