win-pvdrivers

changeset 864:1ed6cb0de408 0.11.0.272

Handle mapping failure in xenvbd correctly
author James Harper <james.harper@bendigoit.com.au>
date Sun Feb 27 21:20:51 2011 +1100 (2011-02-27)
parents ff48ceac3934
children c755254d91c5
files xenvbd/xenvbd_storport.c
line diff
     1.1 --- a/xenvbd/xenvbd_storport.c	Sun Feb 27 21:20:26 2011 +1100
     1.2 +++ b/xenvbd/xenvbd_storport.c	Sun Feb 27 21:20:51 2011 +1100
     1.3 @@ -474,7 +474,7 @@ XenVbd_PutQueuedSrbsOnRing(PXENVBD_DEVIC
     1.4        if (StorPortGetSystemAddress(xvdd, srb, &system_address) != STOR_STATUS_SUCCESS)
     1.5        {
     1.6          KdPrint((__DRIVER_NAME "     Failed to map DataBuffer\n"));
     1.7 -        srb->SrbStatus = SRB_STATUS_INVALID_REQUEST;
     1.8 +        srb->SrbStatus = SRB_STATUS_BUSY;
     1.9          StorPortNotification(RequestComplete, xvdd, srb);
    1.10          continue;
    1.11        }