svn commit: r192338 - user/kmacy/releng_7_2_fcs/sys/kern

Kip Macy kmacy at FreeBSD.org
Mon May 18 21:23:14 UTC 2009


Author: kmacy
Date: Mon May 18 21:23:13 2009
New Revision: 192338
URL: http://svn.freebsd.org/changeset/base/192338

Log:
  merge 189789

Modified:
  user/kmacy/releng_7_2_fcs/sys/kern/kern_mutex.c

Modified: user/kmacy/releng_7_2_fcs/sys/kern/kern_mutex.c
==============================================================================
--- user/kmacy/releng_7_2_fcs/sys/kern/kern_mutex.c	Mon May 18 21:22:03 2009	(r192337)
+++ user/kmacy/releng_7_2_fcs/sys/kern/kern_mutex.c	Mon May 18 21:23:13 2009	(r192338)
@@ -775,6 +775,7 @@ mtx_destroy(struct mtx *m)
 		else
 			curthread->td_locks--;
 
+		lock_profile_release_lock(&m->lock_object);
 		/* Tell witness this isn't locked to make it happy. */
 		WITNESS_UNLOCK(&m->lock_object, LOP_EXCLUSIVE, __FILE__,
 		    __LINE__);


More information about the svn-src-user mailing list