[EXT2]
[reactos.git] / reactos / drivers / filesystems / ext2 / src / fsctl.c
index 124b739..d6cb8d7 100644 (file)
@@ -1496,6 +1496,13 @@ Ext2MountVolume (IN PEXT2_IRP_CONTEXT IrpContext)
             _SEH2_LEAVE;
         }
 
             _SEH2_LEAVE;
         }
 
+#ifdef __REACTOS__
+        if (DiskGeometry.MediaType == Unknown)
+        {
+            DiskGeometry.BytesPerSector = 512;
+        }
+#endif
+
         Status = IoCreateDevice(
                      MainDeviceObject->DriverObject,
                      sizeof(EXT2_VCB),
         Status = IoCreateDevice(
                      MainDeviceObject->DriverObject,
                      sizeof(EXT2_VCB),