Commit in reactos/drivers/storage/class2 on MAIN
class2.c+6-11.48 -> 1.49
- Don't retry, if the request fails with SRB_STATUS_INVALID_REQUEST.

reactos/drivers/storage/class2
class2.c 1.48 -> 1.49
diff -u -r1.48 -r1.49
--- class2.c	10 Feb 2004 16:22:56 -0000	1.48
+++ class2.c	29 Feb 2004 11:21:58 -0000	1.49
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: class2.c,v 1.48 2004/02/10 16:22:56 navaraf Exp $
+/* $Id: class2.c,v 1.49 2004/02/29 11:21:58 hbirr Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -1228,6 +1228,11 @@
 	    Retry = FALSE;
 	    break;
 
+	  case SRB_STATUS_INVALID_REQUEST:
+	    *Status = STATUS_INVALID_DEVICE_REQUEST;
+	    Retry = FALSE;
+	    break;
+
 	  default:
 	    DPRINT1("SCSI error (SRB status: %x)\n",
 		    SRB_STATUS(Srb->SrbStatus));
CVSspam 0.2.8