From 387d12846200193a7dd1fd193fd8ad686999572c Mon Sep 17 00:00:00 2001 From: David Welch Date: Tue, 25 Sep 2001 19:52:28 +0000 Subject: [PATCH] APplied MiReadPage fix svn path=/trunk/; revision=2260 --- reactos/ntoskrnl/mm/section.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/mm/section.c b/reactos/ntoskrnl/mm/section.c index 477539391b5..1aa46dbd4fd 100644 --- a/reactos/ntoskrnl/mm/section.c +++ b/reactos/ntoskrnl/mm/section.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: section.c,v 1.61 2001/09/25 19:41:38 dwelch Exp $ +/* $Id: section.c,v 1.62 2001/09/25 19:52:28 dwelch Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/mm/section.c @@ -313,7 +313,7 @@ MiReadPage(PMEMORY_AREA MemoryArea, &SegOffset, &IoStatus, TRUE); - if (!NT_SUCCESS(Status)) + if (!NT_SUCCESS(Status) && Status != STATUS_END_OF_FILE) { CcRosReleaseCacheSegment(Fcb->Bcb, CacheSeg, FALSE); return(Status);