projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ce4ac4f
)
[CSQ]
author
Thomas Faber
<thomas.faber@reactos.org>
Mon, 8 Oct 2012 10:11:42 +0000
(10:11 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Mon, 8 Oct 2012 10:11:42 +0000
(10:11 +0000)
- Do not complete IRP while likely holding a spinlock
svn path=/trunk/; revision=57519
reactos/lib/drivers/csq/csq.c
patch
|
blob
|
history
diff --git
a/reactos/lib/drivers/csq/csq.c
b/reactos/lib/drivers/csq/csq.c
index
64b1b32
..
e36a757
100644
(file)
--- a/
reactos/lib/drivers/csq/csq.c
+++ b/
reactos/lib/drivers/csq/csq.c
@@
-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
@@
static VOID NTAPI IopCsqCancelRoutine(PDEVICE_OBJECT DeviceObject,
/* 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);
}
\f