mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Do not clean up mdl on paging requests, as the mm needs it still
svn path=/trunk/; revision=1235
This commit is contained in:
parent
7bf98ea309
commit
10c1321106
1 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <internal/string.h>
|
#include <internal/string.h>
|
||||||
#include <internal/ob.h>
|
#include <internal/ob.h>
|
||||||
|
#include <internal/mm.h>
|
||||||
#include <internal/ps.h>
|
#include <internal/ps.h>
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
|
@ -114,7 +115,7 @@ VOID IoReadWriteCompletion(PDEVICE_OBJECT DeviceObject,
|
||||||
}
|
}
|
||||||
ExFreePool(Irp->AssociatedIrp.SystemBuffer);
|
ExFreePool(Irp->AssociatedIrp.SystemBuffer);
|
||||||
}
|
}
|
||||||
if (DeviceObject->Flags & DO_DIRECT_IO)
|
if (DeviceObject->Flags & DO_DIRECT_IO && !(Irp->Flags & IRP_PAGING_IO))
|
||||||
{
|
{
|
||||||
DPRINT("Tearing down MDL\n");
|
DPRINT("Tearing down MDL\n");
|
||||||
if (Irp->MdlAddress->MappedSystemVa!=NULL)
|
if (Irp->MdlAddress->MappedSystemVa!=NULL)
|
||||||
|
|
Loading…
Reference in a new issue