HomeFreeBSD

Fix autofs triggering problem. Assume you have an NFS server,

Description

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

Details

Provenance
traszAuthored on
Differential Revision
D5442: Fix autofs triggering problem.
Parents
rS296714: Remove Symbol.map entries for old AIO system calls for FreeBSD 6 compat.
Branches
Unknown
Tags
Unknown