freebsd-nq/sys/fs/autofs
Edward Tomasz Napierala 213ed83855 Fix autofs triggering problem. Assume you have an NFS server,
192.168.1.1, with share "share". This commit fixes a problem
where "mkdir /net/192.168.1.1/share/meh" would return spurious
error instead of creating the directory if the target filesystem
wasn't mounted yet; subsequent attempts would work correctly.

The failure scenario is kind of complicated to explain, but it all
boils down to calling VOP_MKDIR() for the target filesystem (NFS)
with wrong dvp - the autofs vnode instead of the filesystem root
mounted over it.

Reviewed by:	kib@
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D5442
2016-03-12 07:54:42 +00:00
..
autofs_ioctl.h Restore ABI compatibility, broken in r273127. Note that while this fixes 2015-02-10 16:17:16 +00:00
autofs_vfsops.c Implement "automount -c". 2014-11-22 16:48:29 +00:00
autofs_vnops.c Fix autofs triggering problem. Assume you have an NFS server, 2016-03-12 07:54:42 +00:00
autofs.c Restore ABI compatibility, broken in r273127. Note that while this fixes 2015-02-10 16:17:16 +00:00
autofs.h Implement "automount -c". 2014-11-22 16:48:29 +00:00