Vnode is not referenced by the vfs_domount() at the point where
authorkib <kib@FreeBSD.org>
Thu, 2 Jul 2015 14:31:47 +0000 (14:31 +0000)
committerkib <kib@FreeBSD.org>
Thu, 2 Jul 2015 14:31:47 +0000 (14:31 +0000)
commitf3f63a15abc5a11cea316d6b5500034d9c820d54
tree2ecf9794f9d3c70d1cf372b87d3c6805940ee9da
parentd94acf5f31d660e36d6255504ac11ccc5354f838
Vnode is not referenced by the vfs_domount() at the point where
asserts are made.  Remove them, since we might dereference freed
memory.  Leaked locks are asserted by the syscall return code anyway.

Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
sys/kern/vfs_mount.c