[NTOSKRNL]
authorPierre Schweitzer <pierre@reactos.org>
Fri, 25 Nov 2016 22:39:49 +0000 (22:39 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Fri, 25 Nov 2016 22:39:49 +0000 (22:39 +0000)
Revert r73376.

CORE-12238

svn path=/trunk/; revision=73378

reactos/ntoskrnl/io/iomgr/iofunc.c

index 03069ec..492a76c 100644 (file)
@@ -2741,7 +2741,10 @@ NtReadFile(IN HANDLE FileHandle,
 
     /* Now set the deferred read flags */
     Irp->Flags |= (IRP_READ_OPERATION | IRP_DEFER_IO_COMPLETION);
+#if 0
+    /* FIXME: VFAT SUCKS */
     if (FileObject->Flags & FO_NO_INTERMEDIATE_BUFFERING) Irp->Flags |= IRP_NOCACHE;
+#endif
 
     /* Perform the call */
     return IopPerformSynchronousRequest(DeviceObject,
@@ -3751,7 +3754,10 @@ NtWriteFile(IN HANDLE FileHandle,
 
     /* Now set the deferred read flags */
     Irp->Flags |= (IRP_WRITE_OPERATION | IRP_DEFER_IO_COMPLETION);
+#if 0
+    /* FIXME: VFAT SUCKS */
     if (FileObject->Flags & FO_NO_INTERMEDIATE_BUFFERING) Irp->Flags |= IRP_NOCACHE;
+#endif
 
     /* Perform the call */
     return IopPerformSynchronousRequest(DeviceObject,