mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:43:04 +00:00
[NTOSKRNL]
In IoWritePartitionTableEx(), don't return STATUS_SUCCESS when we cannot write GPT to higher partitions count than space available; return STATUS_INVALID_PARAMETER. svn path=/trunk/; revision=73114
This commit is contained in:
parent
82425d713b
commit
a343648323
1 changed files with 4 additions and 0 deletions
|
@ -2509,6 +2509,10 @@ IoWritePartitionTableEx(IN PDEVICE_OBJECT DeviceObject,
|
||||||
DriveLayout->PartitionEntry);
|
DriveLayout->PartitionEntry);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Status = STATUS_INVALID_PARAMETER;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue