navaraf@svn.reactos.com wrote:
Don't make cells smaller than they are. Modified: trunk/reactos/ntoskrnl/cm/regfile.c
*Modified: trunk/reactos/ntoskrnl/cm/regfile.c* --- trunk/reactos/ntoskrnl/cm/regfile.c 2005-11-26 13:26:48 UTC (rev 19635) +++ trunk/reactos/ntoskrnl/cm/regfile.c 2005-11-26 15:21:44 UTC (rev 19636) @@ -3431,7 +3431,7 @@
RtlZeroMemory(*Cell, CellSize);
((PCELL_HEADER) (*Cell))->CellSize = -CellSize;
((PCELL_HEADER) (*Cell))->CellSize *= -1;}
return STATUS_SUCCESS;
This change is wrong. Possible we have split the cell. In this case, we have to set the new cell size.
- Hartmut