mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 05:54:05 +00:00
CmDeleteKey: Copy LastWriteTime from cell to KCB, instead of querying again.
svn path=/trunk/; revision=36772
This commit is contained in:
parent
d13301ae65
commit
1d3e8f7e54
|
@ -1307,7 +1307,7 @@ CmDeleteKey(IN PCM_KEY_BODY KeyBody)
|
|||
|
||||
/* Update the write time */
|
||||
KeQuerySystemTime(&Parent->LastWriteTime);
|
||||
KeQuerySystemTime(&Kcb->ParentKcb->KcbLastWriteTime);
|
||||
Kcb->ParentKcb->KcbLastWriteTime = Parent->LastWriteTime;
|
||||
|
||||
/* Release the cell */
|
||||
HvReleaseCell(Hive, ParentCell);
|
||||
|
|
Loading…
Reference in a new issue