Herve Poussineau <poussine@freesurf.fr> Use MmGetSystemAddressForMdlSafe instead of MmGetSystemAddressForMdl.
Modified: trunk/reactos/drivers/fs/vfat/misc.c
--- trunk/reactos/drivers/fs/vfat/misc.c 2005-01-12 13:00:43 UTC (rev 12961) +++ trunk/reactos/drivers/fs/vfat/misc.c 2005-01-12 13:07:17 UTC (rev 12962) @@ -218,7 +218,9 @@
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 {