[ros-diffs] [pschweitzer] 33780: Added more cluster size values. Spotted by GreatLord For more informations: http://support.microsoft.com/kb/140365/en-us

pschweitzer at svn.reactos.org pschweitzer at svn.reactos.org
Fri May 30 22:59:56 CEST 2008


Author: pschweitzer
Date: Fri May 30 15:59:56 2008
New Revision: 33780

URL: http://svn.reactos.org/svn/reactos?rev=33780&view=rev
Log:
Added more cluster size values.
Spotted by GreatLord
For more informations: http://support.microsoft.com/kb/140365/en-us

Modified:
    trunk/reactos/drivers/filesystems/ntfs/fsctl.c

Modified: trunk/reactos/drivers/filesystems/ntfs/fsctl.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ntfs/fsctl.c?rev=33780&r1=33779&r2=33780&view=diff
==============================================================================
--- trunk/reactos/drivers/filesystems/ntfs/fsctl.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/ntfs/fsctl.c [iso-8859-1] Fri May 30 15:59:56 2008
@@ -141,7 +141,9 @@
   /* Check cluster size */
   ClusterSize = BootSector->BPB.BytesPerSector * BootSector->BPB.SectorsPerCluster;
   if (ClusterSize != 512 && ClusterSize != 1024 && 
-      ClusterSize != 2048 && ClusterSize != 4096)
+      ClusterSize != 2048 && ClusterSize != 4096 &&
+      ClusterSize != 8192 && ClusterSize != 16384 &&
+      ClusterSize != 32768 && ClusterSize != 65536)
   {
     DPRINT1("Cluster size failed: %hu, %hu, %hu\n", BootSector->BPB.BytesPerSector,
                                                     BootSector->BPB.SectorsPerCluster,



More information about the Ros-diffs mailing list