Author: tfaber
Date: Mon Oct 8 10:11:42 2012
New Revision: 57519
URL:
http://svn.reactos.org/svn/reactos?rev=57519&view=rev
Log:
[CSQ]
- Do not complete IRP while likely holding a spinlock
Modified:
trunk/reactos/lib/drivers/csq/csq.c (contents, props changed)
Modified: trunk/reactos/lib/drivers/csq/csq.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/csq/csq.c?rev=…
==============================================================================
--- trunk/reactos/lib/drivers/csq/csq.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/csq/csq.c [iso-8859-1] Mon Oct 8 10:11:42 2012
@@ -23,7 +23,6 @@
* all happen at DISPATCH_LEVEL all of the time, so thread switching on a single
* processor can create races too.
*/
-/* $Id$ */
#include <ntdef.h>
#undef DECLSPEC_IMPORT
@@ -68,11 +67,10 @@
/* Now that we have our CSQ, complete the IRP */
Csq->CsqAcquireLock(Csq, &Irql);
- {
- Csq->CsqRemoveIrp(Csq, Irp);
- Csq->CsqCompleteCanceledIrp(Csq, Irp);
- }
+ Csq->CsqRemoveIrp(Csq, Irp);
Csq->CsqReleaseLock(Csq, Irql);
+
+ Csq->CsqCompleteCanceledIrp(Csq, Irp);
}
Propchange: trunk/reactos/lib/drivers/csq/csq.c
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords (removed)
@@ -1,1 +1,0 @@
-author date id revision