mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 04:13:35 +00:00
[NTOSKRNL]
Revert r73376. CORE-12238 svn path=/trunk/; revision=73378
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user