Remove the HiddenSectors hack because usetup initializes the HiddenSectors value properly.

svn path=/trunk/; revision=68229
This commit is contained in:
Eric Kohl 2015-06-21 09:39:06 +00:00
parent bdc699aac8
commit ac6878aaab
2 changed files with 0 additions and 12 deletions

View file

@ -105,12 +105,6 @@ VfatFormat(IN PUNICODE_STRING DriveRoot,
NtClose(FileHandle);
return Status;
}
/*
* FIXME: This is a hack!
* Partitioning software MUST set the correct number of hidden sectors!
*/
PartitionInfo.HiddenSectors = DiskGeometry.SectorsPerTrack;
}
else
{

View file

@ -102,12 +102,6 @@ VfatxFormat(IN PUNICODE_STRING DriveRoot,
NtClose(FileHandle);
return Status;
}
/*
* FIXME: This is a hack!
* Partitioning software MUST set the correct number of hidden sectors!
*/
PartitionInfo.HiddenSectors = DiskGeometry.SectorsPerTrack;
}
else
{