mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOSKRNL] Implement support for PIN_IF_BCB flag
This commit is contained in:
parent
7fd2751c87
commit
bd39459f89
1 changed files with 6 additions and 0 deletions
|
@ -329,6 +329,12 @@ CcPinRead (
|
|||
|
||||
if (iBcb == NULL)
|
||||
{
|
||||
/* We failed to find an already existing BCB */
|
||||
if (BooleanFlagOn(Flags, PIN_IF_BCB))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* Map first */
|
||||
if (!CcpMapData(SharedCacheMap, FileOffset, Length, Flags, Bcb, Buffer))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue