[NTOSKRNL]
authorPierre Schweitzer <pierre@reactos.org>
Fri, 25 Nov 2016 21:47:34 +0000 (21:47 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Fri, 25 Nov 2016 21:47:34 +0000 (21:47 +0000)
Remove old hacks which seem no longer required

svn path=/trunk/; revision=73376

reactos/ntoskrnl/io/iomgr/iofunc.c

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