Date: Wed, 26 Jul 2006 12:04:40 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 102448 for review Message-ID: <200607261204.k6QC4eUC004305@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=102448 Change 102448 by hselasky@hselasky_mini_itx on 2006/07/26 12:04:36 Add some extra assertions. Affected files ... .. //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#10 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#10 (text+ko) ==== @@ -1220,7 +1220,9 @@ usbd_config[0].callback = &usbd_default_callback; if (mtx) { + mtx_assert(mtx, MA_OWNED); mtx_unlock(mtx); + mtx_assert(mtx, MA_NOTOWNED); } /* setup transfer */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607261204.k6QC4eUC004305>