[FSLIB]
authorEric Kohl <eric.kohl@reactos.org>
Sun, 21 Jun 2015 09:39:06 +0000 (09:39 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sun, 21 Jun 2015 09:39:06 +0000 (09:39 +0000)
Remove the HiddenSectors hack because usetup initializes the HiddenSectors value properly.

svn path=/trunk/; revision=68229

reactos/lib/fslib/vfatlib/vfatlib.c
reactos/lib/fslib/vfatxlib/vfatxlib.c

index 09f00c3..306940b 100644 (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
     {
index 990dd20..40d2105 100644 (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
     {