mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 02:41:22 +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
1 changed files with 1 additions and 1 deletions
|
@ -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