mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
Don't call ReadCacheSegmentChain() twice (thanks Maarten).
svn path=/trunk/; revision=25313
This commit is contained in:
parent
09ce11f2a5
commit
a8637ee73e
1 changed files with 0 additions and 1 deletions
|
@ -381,7 +381,6 @@ CcCopyRead (IN PFILE_OBJECT FileObject,
|
|||
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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue