[ros-diffs] [tkreuzer] 36772: CmDeleteKey: Copy LastWriteTime from cell to KCB, instead of querying again.

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Thu Oct 16 21:07:28 CEST 2008


Author: tkreuzer
Date: Thu Oct 16 14:07:28 2008
New Revision: 36772

URL: http://svn.reactos.org/svn/reactos?rev=36772&view=rev
Log:
CmDeleteKey: Copy LastWriteTime from cell to KCB, instead of querying again.

Modified:
    trunk/reactos/ntoskrnl/config/cmapi.c

Modified: trunk/reactos/ntoskrnl/config/cmapi.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmapi.c?rev=36772&r1=36771&r2=36772&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmapi.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/config/cmapi.c [iso-8859-1] Thu Oct 16 14:07:28 2008
@@ -1307,7 +1307,7 @@
 
                 /* Update the write time */
                 KeQuerySystemTime(&Parent->LastWriteTime);
-                KeQuerySystemTime(&Kcb->ParentKcb->KcbLastWriteTime);
+                Kcb->ParentKcb->KcbLastWriteTime = Parent->LastWriteTime;
 
                 /* Release the cell */
                 HvReleaseCell(Hive, ParentCell);



More information about the Ros-diffs mailing list