Commit in reactos/drivers/storage/class2 on MAIN
class2.c+5-11.49 -> 1.50
- Pre initialized the resulting transfer length for requests which are split.

reactos/drivers/storage/class2
class2.c 1.49 -> 1.50
diff -u -r1.49 -r1.50
--- class2.c	29 Feb 2004 11:21:58 -0000	1.49
+++ class2.c	7 Mar 2004 19:53:08 -0000	1.50
@@ -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.49 2004/02/29 11:21:58 hbirr Exp $
+/* $Id: class2.c,v 1.50 2004/03/07 19:53:08 hbirr Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -2134,6 +2134,10 @@
   /* Initialize transfer data for first request */
   Offset = CurrentStack->Parameters.Read.ByteOffset;
   TransferLength = CurrentStack->Parameters.Read.Length;
+
+  /* Set the result length */
+  Irp->IoStatus.Information = TransferLength;
+
   DataLength = MaximumBytes;
   RequestCount = ROUND_UP(TransferLength, MaximumBytes) / MaximumBytes;
 
CVSspam 0.2.8