[NTOSKRNL] Move the PinCount out of the VACB to the BCB
authorPierre Schweitzer <pierre@reactos.org>
Fri, 5 Oct 2018 17:43:10 +0000 (19:43 +0200)
committerPierre Schweitzer <pierre@reactos.org>
Fri, 5 Oct 2018 19:26:16 +0000 (21:26 +0200)
commitf2849476220161e202e25b000d8c68a9d4123e00
tree450b3c86738587e1b99476d01b77ec41ba1698a0
parentf9739601b380b9bd8ab43d8fa87c940c65517d94
[NTOSKRNL] Move the PinCount out of the VACB to the BCB

Given current ReactOS implementation, a VACB can be pinned
several times, with different BCB. In next commits, a single
BCB will be able to be pinned several times. That would
lead to severe inconsistencies in counting and thus corruption.
ntoskrnl/cc/pin.c
ntoskrnl/cc/view.c
ntoskrnl/include/internal/cc.h