mirror of
https://github.com/reactos/reactos.git
synced 2025-05-10 20:27:45 +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 */
|
/* Update the write time */
|
||||||
KeQuerySystemTime(&Parent->LastWriteTime);
|
KeQuerySystemTime(&Parent->LastWriteTime);
|
||||||
KeQuerySystemTime(&Kcb->ParentKcb->KcbLastWriteTime);
|
Kcb->ParentKcb->KcbLastWriteTime = Parent->LastWriteTime;
|
||||||
|
|
||||||
/* Release the cell */
|
/* Release the cell */
|
||||||
HvReleaseCell(Hive, ParentCell);
|
HvReleaseCell(Hive, ParentCell);
|
||||||
|
|
Loading…
Reference in a new issue