win-pvdrivers

changeset 630:51012d703b75

fixed bug in xenbus. forgot to release mutex on early exit.
author James Harper <james.harper@bendigoit.com.au>
date Tue Aug 18 15:16:41 2009 +1000 (2009-08-18)
parents 4c16d7438efd
children bf13631a5054
files xenpci/xenbus.c
line diff
     1.1 --- a/xenpci/xenbus.c	Mon Aug 17 23:51:17 2009 +1000
     1.2 +++ b/xenpci/xenbus.c	Tue Aug 18 15:16:41 2009 +1000
     1.3 @@ -242,6 +242,7 @@ XenBus_WatchWorkItemProc(WDFWORKITEM wor
     1.4    if (!entry->Active || !entry->ServiceRoutine)
     1.5    {
     1.6      KdPrint((__DRIVER_NAME "     No watch for index %d\n", index));
     1.7 +    ExReleaseFastMutex(&xpdd->xb_watch_mutex);
     1.8      WdfObjectDelete(workitem);
     1.9      return;
    1.10    }