mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Herve Poussineau <poussine@freesurf.fr>
Use MmGetSystemAddressForMdlSafe instead of MmGetSystemAddressForMdl. svn path=/trunk/; revision=12962
This commit is contained in:
parent
4b208cd9ff
commit
1eb8f5f55d
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue