Author: fireball
Date: Fri Jan 5 22:41:19 2007
New Revision: 25313
URL:
http://svn.reactos.org/svn/reactos?rev=25313&view=rev
Log:
Don't call ReadCacheSegmentChain() twice (thanks Maarten).
Modified:
trunk/reactos/ntoskrnl/cc/copy.c
Modified: trunk/reactos/ntoskrnl/cc/copy.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/cc/copy.c?rev=253…
==============================================================================
--- trunk/reactos/ntoskrnl/cc/copy.c (original)
+++ trunk/reactos/ntoskrnl/cc/copy.c Fri Jan 5 22:41:19 2007
@@ -381,7 +381,6 @@
while (Length > 0)
{
TempLength = min(max(Bcb->CacheSegmentSize, MAX_RW_LENGTH), Length);
- ReadCacheSegmentChain(Bcb, ReadOffset, TempLength, Buffer);
Status = ReadCacheSegmentChain(Bcb, ReadOffset, TempLength, Buffer);
if (!NT_SUCCESS(Status))
{