[ros-diffs] [navaraf] 12962: Herve Poussineau <poussine@freesurf.fr>

navaraf at svn.reactos.com navaraf at svn.reactos.com
Wed Jan 12 14:07:18 CET 2005


Herve Poussineau <poussine at freesurf.fr>
Use MmGetSystemAddressForMdlSafe instead of MmGetSystemAddressForMdl.
Modified: trunk/reactos/drivers/fs/vfat/misc.c
  _____  

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
    {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050112/d7c897d7/attachment.html


More information about the Ros-diffs mailing list