mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 04:20:46 +00:00
[DISK]
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:
parent
c0be6ae94e
commit
c87591d771
1 changed files with 7 additions and 0 deletions
|
@ -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.
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue