Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2007 14:58:07 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 131099 for review
Message-ID:  <200712171458.lBHEw7H8061121@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=131099

Change 131099 by hselasky@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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712171458.lBHEw7H8061121>