-/* $Id: rw.c,v 1.27 2001/08/04 11:10:36 hbirr Exp $
+/* $Id: rw.c,v 1.28 2001/08/05 16:35:52 hbirr Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
Status = VfatWriteFile (DeviceExt, FileObject, Buffer, Length, Offset,
NoCache);
- if (FileObject->Flags & FO_SYNCHRONOUS_IO
- && !(Irp->Flags & IRP_PAGING_IO)
- && NT_SUCCESS(Status))
- {
- FileObject->CurrentByteOffset.QuadPart = Offset + Length;
- }
-
-
Irp->IoStatus.Status = Status;
Irp->IoStatus.Information = Length;
IoCompleteRequest (Irp, IO_NO_INCREMENT);
NoCache);
}
- if (FileObject->Flags & FO_SYNCHRONOUS_IO
- && !(Irp->Flags & IRP_PAGING_IO)
- && NT_SUCCESS(Status))
- {
- FileObject->CurrentByteOffset.QuadPart = Offset + LengthRead;
- }
-
Irp->IoStatus.Status = Status;
Irp->IoStatus.Information = LengthRead;
IoCompleteRequest (Irp, IO_NO_INCREMENT);