freebsd-nq/sys/cddl
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
..
boot/zfs loader should support large_dnode 2017-09-12 13:45:04 +00:00
compat/opensolaris dounmount: do not release the mount point's reference on the covered vnode 2017-09-14 08:47:06 +00:00
contrib/opensolaris slightly simplify zfs_vptocnp 2017-09-13 07:09:58 +00:00
dev Enable dtrace support for mips64 and the ERL kernel config 2017-09-06 03:19:52 +00:00