[ros-diffs] [fireball] 33961: - Release the acquired spinlock in IoUnregisterShutdownNotification(), spotted by Cameron Gutman.
fireball at svn.reactos.org
fireball at svn.reactos.org
Sat Jun 14 10:16:22 CEST 2008
Author: fireball
Date: Sat Jun 14 03:16:22 2008
New Revision: 33961
URL: http://svn.reactos.org/svn/reactos?rev=33961&view=rev
Log:
- Release the acquired spinlock in IoUnregisterShutdownNotification(), spotted by Cameron Gutman.
Modified:
trunk/reactos/ntoskrnl/io/iomgr/device.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/device.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/device.c?rev=33961&r1=33960&r2=33961&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/device.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/device.c [iso-8859-1] Sat Jun 14 03:16:22 2008
@@ -1359,6 +1359,9 @@
NextEntry = NextEntry->Flink;
}
+ /* Release the shutdown lock */
+ KeReleaseSpinLock(&ShutdownListLock, OldIrql);
+
/* Now remove the flag */
DeviceObject->Flags &= ~DO_SHUTDOWN_REGISTERED;
}
More information about the Ros-diffs
mailing list