Author: hpoussin
Date: Sun Nov 23 13:48:06 2014
New Revision: 65453
URL:
http://svn.reactos.org/svn/reactos?rev=65453&view=rev
Log:
[NTOS:CC] Fix bug in CcPinRead
In fact, this bug is never exposed because CcPinMappedData always returns TRUE.
Modified:
trunk/reactos/ntoskrnl/cc/pin.c
Modified: trunk/reactos/ntoskrnl/cc/pin.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/cc/pin.c?rev=6545…
==============================================================================
--- trunk/reactos/ntoskrnl/cc/pin.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/cc/pin.c [iso-8859-1] Sun Nov 23 13:48:06 2014
@@ -143,7 +143,7 @@
if (CcPinMappedData(FileObject, FileOffset, Length, Flags, Bcb))
return TRUE;
else
- CcUnpinData(Bcb);
+ CcUnpinData(*Bcb);
}
return FALSE;
}