Herve Poussineau <poussine@freesurf.fr>

Use MmGetSystemAddressForMdlSafe instead of MmGetSystemAddressForMdl.

svn path=/trunk/; revision=12962
This commit is contained in:
Filip Navara 2005-01-12 13:07:17 +00:00
parent 4b208cd9ff
commit 1eb8f5f55d

View file

@ -218,7 +218,9 @@ PVOID VfatGetUserBuffer(IN PIRP Irp)
if (Irp->MdlAddress)
{
return MmGetSystemAddressForMdl(Irp->MdlAddress);
/* This call may be in the paging path, so use maximum priority */
/* FIXME: call with normal priority in the non-paging path */
return MmGetSystemAddressForMdlSafe(Irp->MdlAddress, HighPagePriority);
}
else
{