Date: Sun, 24 Aug 2014 17:03:52 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r270507 - head/sys/fs/autofs Message-ID: <201408241703.s7OH3qSq016487@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Sun Aug 24 17:03:52 2014 New Revision: 270507 URL: http://svnweb.freebsd.org/changeset/base/270507 Log: 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 Modified: head/sys/fs/autofs/autofs_vnops.c Modified: head/sys/fs/autofs/autofs_vnops.c ============================================================================== --- head/sys/fs/autofs/autofs_vnops.c Sun Aug 24 17:02:27 2014 (r270506) +++ head/sys/fs/autofs/autofs_vnops.c Sun Aug 24 17:03:52 2014 (r270507) @@ -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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408241703.s7OH3qSq016487>