mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[NTOS] Demote an ASSERT to a mere DPRINT since we only support registry hives with cluster size == 1 in any case so far (other sizes are UNIMPLEMENTED!)
This commit is contained in:
parent
cee1817e06
commit
de87a936ce
1 changed files with 8 additions and 4 deletions
|
@ -1369,15 +1369,19 @@ CmpLoadHiveThread(IN PVOID StartContext)
|
||||||
Length = CmHive->Hive.Storage[Stable].Length + HBLOCK_SIZE;
|
Length = CmHive->Hive.Storage[Stable].Length + HBLOCK_SIZE;
|
||||||
|
|
||||||
/* Check if the cluster size doesn't match */
|
/* Check if the cluster size doesn't match */
|
||||||
if (CmHive->Hive.Cluster != ClusterSize) ASSERT(FALSE);
|
if (CmHive->Hive.Cluster != ClusterSize)
|
||||||
|
{
|
||||||
|
DPRINT1("FIXME: Support for CmHive->Hive.Cluster (%lu) != ClusterSize (%lu) is unimplemented!\n",
|
||||||
|
CmHive->Hive.Cluster, ClusterSize);
|
||||||
|
}
|
||||||
|
|
||||||
/* Set the file size */
|
/* Set the file size */
|
||||||
DPRINT("FIXME: Should set file size: %lx\n", Length);
|
DPRINT("FIXME: Should set file size: %lu\n", Length);
|
||||||
//if (!CmpFileSetSize((PHHIVE)CmHive, HFILE_TYPE_PRIMARY, Length, Length))
|
//if (!CmpFileSetSize((PHHIVE)CmHive, HFILE_TYPE_PRIMARY, Length, Length))
|
||||||
{
|
//{
|
||||||
/* This shouldn't fail */
|
/* This shouldn't fail */
|
||||||
//ASSERT(FALSE);
|
//ASSERT(FALSE);
|
||||||
}
|
//}
|
||||||
|
|
||||||
/* Another thing we don't support is NTLDR-recovery */
|
/* Another thing we don't support is NTLDR-recovery */
|
||||||
if (CmHive->Hive.BaseBlock->BootRecover) ASSERT(FALSE);
|
if (CmHive->Hive.BaseBlock->BootRecover) ASSERT(FALSE);
|
||||||
|
|
Loading…
Reference in a new issue