[ros-diffs] [cgutman] 55152: [USBSTOR] - Release the spinlock before returning (accidentally removed)

cgutman at svn.reactos.org cgutman at svn.reactos.org
Tue Jan 24 21:33:52 UTC 2012


Author: cgutman
Date: Tue Jan 24 21:33:51 2012
New Revision: 55152

URL: http://svn.reactos.org/svn/reactos?rev=55152&view=rev
Log:
[USBSTOR]
- Release the spinlock before returning (accidentally removed)

Modified:
    branches/usb-bringup-trunk/drivers/usb/usbstor/queue.c

Modified: branches/usb-bringup-trunk/drivers/usb/usbstor/queue.c
URL: http://svn.reactos.org/svn/reactos/branches/usb-bringup-trunk/drivers/usb/usbstor/queue.c?rev=55152&r1=55151&r2=55152&view=diff
==============================================================================
--- branches/usb-bringup-trunk/drivers/usb/usbstor/queue.c [iso-8859-1] (original)
+++ branches/usb-bringup-trunk/drivers/usb/usbstor/queue.c [iso-8859-1] Tue Jan 24 21:33:51 2012
@@ -365,6 +365,11 @@
         //
         KeAcquireSpinLock(&FDODeviceExtension->IrpListLock, &OldLevel);
     }
+
+    //
+    // release lock
+    //
+    KeReleaseSpinLock(&FDODeviceExtension->IrpListLock, OldLevel);
 }
 
 VOID




More information about the Ros-diffs mailing list