mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[NTOS:MM] MmPurgeSegment: Fix wrong return value (#4801)
Return TRUE instead of NTSTATUS code which has a value of FALSE and may confuse caller. Fixes sporadic 0x7B bugcheck when booting from corrupted NTFS volume using WinXP ntfs.sys.
This commit is contained in:
parent
e774423689
commit
23e5d3fe25
1 changed files with 1 additions and 1 deletions
|
@ -4739,7 +4739,7 @@ MmPurgeSegment(
|
|||
if (!Segment)
|
||||
{
|
||||
/* Nothing to purge */
|
||||
return STATUS_SUCCESS;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
PurgeStart.QuadPart = Offset ? Offset->QuadPart : 0LL;
|
||||
|
|
Loading…
Reference in a new issue