mirror of
https://github.com/reactos/reactos.git
synced 2026-07-05 22:44:22 +08:00
CmDeleteKey: Copy LastWriteTime from cell to KCB, instead of querying again.
svn path=/trunk/; revision=36772
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user