PERFORCE change 167199 for review

Hans Petter Selasky hselasky at FreeBSD.org
Tue Aug 11 06:51:13 UTC 2009


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

Change 167199 by hselasky at hselasky_laptop001 on 2009/08/11 06:50:16

	
	USB storage:
	 - remove incorrect fflags check.
	 - reported by: Krassimir Slavchev

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/storage/urio.c#15 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/storage/urio.c#15 (text+ko) ====

@@ -390,9 +390,6 @@
 {
 	struct urio_softc *sc = usb_fifo_softc(fifo);
 
-	if ((fflags & (FWRITE | FREAD)) != (FWRITE | FREAD)) {
-		return (EACCES);
-	}
 	if (fflags & FREAD) {
 		/* clear stall first */
 		mtx_lock(&sc->sc_mtx);


More information about the p4-projects mailing list