mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 12:26:09 +00:00
[NTOSKRNL]
Revert r73376. CORE-12238 svn path=/trunk/; revision=73378
This commit is contained in:
parent
3008f14a0d
commit
7837d0dd2b
1 changed files with 6 additions and 0 deletions
|
@ -2741,7 +2741,10 @@ NtReadFile(IN HANDLE FileHandle,
|
||||||
|
|
||||||
/* Now set the deferred read flags */
|
/* Now set the deferred read flags */
|
||||||
Irp->Flags |= (IRP_READ_OPERATION | IRP_DEFER_IO_COMPLETION);
|
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 */
|
/* Perform the call */
|
||||||
return IopPerformSynchronousRequest(DeviceObject,
|
return IopPerformSynchronousRequest(DeviceObject,
|
||||||
|
@ -3751,7 +3754,10 @@ NtWriteFile(IN HANDLE FileHandle,
|
||||||
|
|
||||||
/* Now set the deferred read flags */
|
/* Now set the deferred read flags */
|
||||||
Irp->Flags |= (IRP_WRITE_OPERATION | IRP_DEFER_IO_COMPLETION);
|
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 */
|
/* Perform the call */
|
||||||
return IopPerformSynchronousRequest(DeviceObject,
|
return IopPerformSynchronousRequest(DeviceObject,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue