mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
APplied MiReadPage fix
svn path=/trunk/; revision=2260
This commit is contained in:
parent
c0589a9fec
commit
387d128462
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue