PERFORCE change 144605 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Fri Jul 4 09:21:19 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=144605
Change 144605 by hselasky at hselasky_laptop001 on 2008/07/04 09:21:14
Fix a witness issue with Giant.
Affected files ...
.. //depot/projects/usb/src/sys/dev/usb2/core/usb2_request.c#6 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/usb2/core/usb2_request.c#6 (text+ko) ====
@@ -289,7 +289,9 @@
}
if (mtx) {
mtx_unlock(mtx);
- mtx_assert(mtx, MA_NOTOWNED);
+ if (mtx != &Giant) {
+ mtx_assert(mtx, MA_NOTOWNED);
+ }
}
/*
* Grab the default sx-lock so that serialisation
More information about the p4-projects
mailing list