mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 20:30:04 +00:00
Added more cluster size values.
Spotted by GreatLord For more informations: http://support.microsoft.com/kb/140365/en-us svn path=/trunk/; revision=33780
This commit is contained in:
parent
4db827d152
commit
58871282fd
|
@ -141,7 +141,9 @@ NtfsHasFileSystem(PDEVICE_OBJECT DeviceToMount)
|
||||||
/* Check cluster size */
|
/* Check cluster size */
|
||||||
ClusterSize = BootSector->BPB.BytesPerSector * BootSector->BPB.SectorsPerCluster;
|
ClusterSize = BootSector->BPB.BytesPerSector * BootSector->BPB.SectorsPerCluster;
|
||||||
if (ClusterSize != 512 && ClusterSize != 1024 &&
|
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,
|
DPRINT1("Cluster size failed: %hu, %hu, %hu\n", BootSector->BPB.BytesPerSector,
|
||||||
BootSector->BPB.SectorsPerCluster,
|
BootSector->BPB.SectorsPerCluster,
|
||||||
|
|
Loading…
Reference in a new issue