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
..
2015-04-18 21:50:53 +00:00
2015-04-22 14:38:58 +00:00
2015-01-22 11:12:42 +00:00
2015-01-22 11:12:42 +00:00
2015-04-22 14:38:58 +00:00
2014-03-14 06:29:43 +00:00
2014-06-26 13:57:44 +00:00
2015-05-20 17:48:22 +00:00
2015-05-20 17:47:01 +00:00
2014-08-11 15:06:07 +00:00
2015-01-22 11:12:42 +00:00
2015-04-18 21:50:53 +00:00
2015-04-18 21:50:53 +00:00
2014-11-30 12:52:33 +00:00
2015-03-17 14:16:50 +00:00
2015-05-18 13:43:33 +00:00