Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Frank van der Linden <fvdl@netbsd.org>
List: source-changes
Date: 02/28/1999 06:12:54
Module Name:	src
Committed By:	fvdl
Date:		Sun Feb 28 14:12:54 UTC 1999

Modified Files:
	src/sys/kern: vfs_syscalls.c
Log Message:
Use a SETRECURSE lock before calling VFS_MOUNT in the mount() system call,
since the lock may be taken again. This was the intention of the CANRECURSE
lock already there, but didn't work.

Only fill in the vnode<->mountpoint links (mountedhere and vnodecovered)
after VFS_MOUNT returned succesfully. It might happen that something called
from VFS_MOUNT mistook the vnode for an already successfully mounted on
one because of this.