PERFORCE change 131099 for review

Hans Petter Selasky hselasky at FreeBSD.org
Mon Dec 17 06:58:08 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=131099

Change 131099 by hselasky at hselasky_laptop001 on 2007/12/17 14:57:30

	
	Exclude Giant from an assert.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#73 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#73 (text+ko) ====

@@ -1993,7 +1993,9 @@
 		/* transfer is gone */
 		return;
 	}
+	if (xfer->priv_mtx != &Giant) {
 	mtx_assert(xfer->priv_mtx, MA_NOTOWNED);
+	}
 
 	mtx_lock(xfer->priv_mtx);
 


More information about the p4-projects mailing list