mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 05:54:05 +00:00
[DISK]
- Remove one hack that seems not to be required anylonger. - Add a comment to highlight the usage of the infamous partition 0 hack (who's the IopParseDevice() hack friend!) svn path=/trunk/; revision=70771
This commit is contained in:
parent
26495e949a
commit
24d3676235
|
@ -2248,6 +2248,11 @@ Return Value:
|
|||
|
||||
PPARTITION_INFORMATION outputBuffer;
|
||||
|
||||
if (diskData->PartitionNumber == 0) {
|
||||
DPRINT1("HACK: Handling partition 0 request!\n");
|
||||
//ASSERT(FALSE);
|
||||
}
|
||||
|
||||
//
|
||||
// Update the geometry in case it has changed.
|
||||
//
|
||||
|
@ -2269,12 +2274,6 @@ Return Value:
|
|||
//
|
||||
|
||||
diskData->DriveNotReady = FALSE;
|
||||
// HACK: ReactOS partition numbers must be wrong (>0 part)
|
||||
if (diskData->PartitionType == 0 && (diskData->PartitionNumber > 0)) {
|
||||
|
||||
status = STATUS_INVALID_DEVICE_REQUEST;
|
||||
break;
|
||||
}
|
||||
|
||||
outputBuffer =
|
||||
(PPARTITION_INFORMATION)Irp->AssociatedIrp.SystemBuffer;
|
||||
|
|
Loading…
Reference in a new issue