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