mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 15:46:13 +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)
|
if (!Segment)
|
||||||
{
|
{
|
||||||
/* Nothing to purge */
|
/* Nothing to purge */
|
||||||
return STATUS_SUCCESS;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
PurgeStart.QuadPart = Offset ? Offset->QuadPart : 0LL;
|
PurgeStart.QuadPart = Offset ? Offset->QuadPart : 0LL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue