freebsd-dev/sys/cddl/compat/opensolaris/kern
Andriy Gapon cbc785c293 dounmount: do not release the mount point's reference on the covered vnode
As long as mnt_ref is not zero there can be a consumer that might try
to access mnt_vnodecovered.  For this reason the covered vnode must not
be freed until mnt_ref goes to zero.
So, move the release of the covered vnode to vfs_mount_destroy.

Reviewed by:	kib
MFC after:	3 weeks
Differential Revision: https://reviews.freebsd.org/D12329
2017-09-14 08:47:06 +00:00
..
opensolaris_acl.c
opensolaris_atomic.c
opensolaris_cmn_err.c
opensolaris_dtrace.c
opensolaris_kmem.c All these files need sys/vmmeter.h, but now they got it implicitly 2017-04-17 17:07:00 +00:00
opensolaris_kobj.c
opensolaris_kstat.c MFV r315290, r315291: 7303 dynamic metaslab selection 2017-03-24 09:37:00 +00:00
opensolaris_lookup.c zfs: clean up unused files and definitions 2017-02-24 07:53:56 +00:00
opensolaris_misc.c
opensolaris_policy.c
opensolaris_proc.c Move implementations of uread() and uwrite() to the illumos compat layer. 2016-09-24 21:40:14 +00:00
opensolaris_string.c
opensolaris_sunddi.c
opensolaris_sysevent.c
opensolaris_taskq.c
opensolaris_uio.c
opensolaris_vfs.c dounmount: do not release the mount point's reference on the covered vnode 2017-09-14 08:47:06 +00:00
opensolaris_vm.c
opensolaris_zone.c
opensolaris.c