freebsd-dev/sys/cddl/contrib/opensolaris
Konstantin Belousov 780dca1b1e Right now, dounmount() is called with unreferenced mount point.
Nothing stops a parallel unmount to suceed before the given call to
dounmount() checks and locks the covered vnode.  Prevent dounmount()
from acting on the freed (although type-stable) memory by changing the
interface to require the mount point to be referenced.  dounmount()
consumes the reference on return, regardless of the sucessfull or
erronous result.

Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2015-05-27 09:22:50 +00:00
..
common nvpair_type_is_array: DATA_TYPE_INT8_ARRAY was not recognized 2015-04-28 06:34:55 +00:00
uts Right now, dounmount() is called with unreferenced mount point. 2015-05-27 09:22:50 +00:00
OPENSOLARIS.LICENSE