Release the correct locks and release they in the correct sequence.
Modified: trunk/reactos/drivers/fs/np/fsctrl.c
_____
Modified: trunk/reactos/drivers/fs/np/fsctrl.c
--- trunk/reactos/drivers/fs/np/fsctrl.c 2005-12-04 15:06:05 UTC
(rev 19869)
+++ trunk/reactos/drivers/fs/np/fsctrl.c 2005-12-04 15:07:22 UTC
(rev 19870)
@@ -208,13 +208,13 @@
KeSetEvent(&OtherSide->WriteEvent, IO_NO_INCREMENT, FALSE);
if (Server)
{
+ ExReleaseFastMutex(&OtherSide->DataListLock);
ExReleaseFastMutex(&Fcb->DataListLock);
- ExReleaseFastMutex(&OtherSide->DataListLock);
}
else
{
+ ExReleaseFastMutex(&Fcb->DataListLock);
ExReleaseFastMutex(&OtherSide->DataListLock);
- ExReleaseFastMutex(&OtherSide->DataListLock);
}
Status = STATUS_SUCCESS;
}