Author: ekohl Date: Sun Jun 21 09:39:06 2015 New Revision: 68229
URL: http://svn.reactos.org/svn/reactos?rev=68229&view=rev Log: [FSLIB] Remove the HiddenSectors hack because usetup initializes the HiddenSectors value properly.
Modified: trunk/reactos/lib/fslib/vfatlib/vfatlib.c trunk/reactos/lib/fslib/vfatxlib/vfatxlib.c
Modified: trunk/reactos/lib/fslib/vfatlib/vfatlib.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/vfatlib/vfatlib.c... ============================================================================== --- trunk/reactos/lib/fslib/vfatlib/vfatlib.c [iso-8859-1] (original) +++ trunk/reactos/lib/fslib/vfatlib/vfatlib.c [iso-8859-1] Sun Jun 21 09:39:06 2015 @@ -105,12 +105,6 @@ NtClose(FileHandle); return Status; } - - /* - * FIXME: This is a hack! - * Partitioning software MUST set the correct number of hidden sectors! - */ - PartitionInfo.HiddenSectors = DiskGeometry.SectorsPerTrack; } else {
Modified: trunk/reactos/lib/fslib/vfatxlib/vfatxlib.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/vfatxlib/vfatxlib... ============================================================================== --- trunk/reactos/lib/fslib/vfatxlib/vfatxlib.c [iso-8859-1] (original) +++ trunk/reactos/lib/fslib/vfatxlib/vfatxlib.c [iso-8859-1] Sun Jun 21 09:39:06 2015 @@ -102,12 +102,6 @@ NtClose(FileHandle); return Status; } - - /* - * FIXME: This is a hack! - * Partitioning software MUST set the correct number of hidden sectors! - */ - PartitionInfo.HiddenSectors = DiskGeometry.SectorsPerTrack; } else {