mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[NTOS:CC] Use UNIMPLEMENTED_ONCE instead of custom code
- Rewrite e319f85e67
.
This commit is contained in:
parent
c704cf5f87
commit
6618a2fd2c
1 changed files with 1 additions and 2 deletions
|
@ -165,7 +165,6 @@ CcScheduleReadAhead (
|
|||
LARGE_INTEGER NewOffset;
|
||||
PROS_SHARED_CACHE_MAP SharedCacheMap;
|
||||
PPRIVATE_CACHE_MAP PrivateCacheMap;
|
||||
static ULONG Warn;
|
||||
|
||||
SharedCacheMap = FileObject->SectionObjectPointer->SharedCacheMap;
|
||||
PrivateCacheMap = FileObject->PrivateCacheMap;
|
||||
|
@ -215,7 +214,7 @@ CcScheduleReadAhead (
|
|||
{
|
||||
/* FIXME: handle the other cases */
|
||||
KeReleaseSpinLock(&PrivateCacheMap->ReadAheadSpinLock, OldIrql);
|
||||
if (!Warn++) UNIMPLEMENTED;
|
||||
UNIMPLEMENTED_ONCE;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue