Also had the nasty partition number hack to IOCTL_DISK_GET_PARTITION_INFO_EX.

It is required for some file system to work in ReactOS (teasing :-))

svn path=/trunk/; revision=70781
This commit is contained in:
Pierre Schweitzer 2016-02-24 07:55:36 +00:00
parent c0be6ae94e
commit c87591d771

View file

@ -2310,6 +2310,7 @@ Return Value:
status = STATUS_INFO_LENGTH_MISMATCH;
}
#if 0 // HACK: ReactOS partition numbers must be wrong
else if (diskData->PartitionNumber == 0) {
//
@ -2320,10 +2321,16 @@ Return Value:
status = STATUS_INVALID_DEVICE_REQUEST;
}
#endif
else {
PPARTITION_INFORMATION_EX outputBuffer;
if (diskData->PartitionNumber == 0) {
DPRINT1("HACK: Handling partition 0 request!\n");
//ASSERT(FALSE);
}
//
// Update the geometry in case it has changed.
//