Author: markj Date: Wed Jun 21 18:17:32 2017 New Revision: 320194 URL: https://svnweb.freebsd.org/changeset/base/320194
Log: Add missing lock destructor invocations to the LinuxKPI unload handler. MFC after: 1 week Modified: head/sys/compat/linuxkpi/common/src/linux_compat.c Modified: head/sys/compat/linuxkpi/common/src/linux_compat.c ============================================================================== --- head/sys/compat/linuxkpi/common/src/linux_compat.c Wed Jun 21 18:15:47 2017 (r320193) +++ head/sys/compat/linuxkpi/common/src/linux_compat.c Wed Jun 21 18:17:32 2017 (r320194) @@ -2026,6 +2026,8 @@ linux_compat_uninit(void *arg) linux_kobject_kfree_name(&linux_root_device.kobj); linux_kobject_kfree_name(&linux_class_misc.kobj); + mtx_destroy(&vmmaplock); + spin_lock_destroy(&pci_lock); rw_destroy(&linux_vma_lock); } SYSUNINIT(linux_compat, SI_SUB_DRIVERS, SI_ORDER_SECOND, linux_compat_uninit, NULL); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"