[ros-diffs] [hpoussin] 30812: No need to increment handle count, it is already done in ExpAllocateHandleTableEntry()

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Tue Nov 27 09:41:28 CET 2007


Author: hpoussin
Date: Tue Nov 27 11:41:27 2007
New Revision: 30812

URL: http://svn.reactos.org/svn/reactos?rev=30812&view=rev
Log:
No need to increment handle count, it is already done in ExpAllocateHandleTableEntry()

Modified:
    trunk/reactos/ntoskrnl/ex/handle.c

Modified: trunk/reactos/ntoskrnl/ex/handle.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/handle.c?rev=30812&r1=30811&r2=30812&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/ex/handle.c (original)
+++ trunk/reactos/ntoskrnl/ex/handle.c Tue Nov 27 11:41:27 2007
@@ -1120,9 +1120,8 @@
                                            HandleTableEntry,
                                            NewEntry))
                     {
-                        /* Lock the entry, increase the handle count */
+                        /* Lock the entry */
                         NewEntry->Value |= EXHANDLE_TABLE_ENTRY_LOCK_BIT;
-                        NewTable->HandleCount++;
                     }
                     else
                     {




More information about the Ros-diffs mailing list