]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change knlist_destroy() to assert that knlist is empty instead of
authorkib <kib@FreeBSD.org>
Mon, 26 Dec 2016 19:28:10 +0000 (19:28 +0000)
committerkib <kib@FreeBSD.org>
Mon, 26 Dec 2016 19:28:10 +0000 (19:28 +0000)
commit483cf170937293318506c34fc95a98a6f366d25f
tree89a8c98536f0420a651093a64f51e116717dd5f4
parent0809c4bc3c8a01f29cc30327b306b0416d50ca1a
Change knlist_destroy() to assert that knlist is empty instead of
accepting the wrong state and printing warning.  Do not obliterate
kl_lock and kl_unlock pointers, they are often useful for post-mortem
analysis.

Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
X-Differential revision: https://reviews.freebsd.org/D8898
sys/kern/kern_event.c