Author: ilardig Date: Thu Jul 8 19:28:25 2010 New Revision: 47972
URL: http://svn.reactos.org/svn/reactos?rev=47972&view=rev Log: [NTOSKRNL] - Warn only once about FsRtlPrivateLock and FsRtlFastUnlockSingle being stubplemented.
Modified: trunk/reactos/ntoskrnl/fsrtl/filelock.c
Modified: trunk/reactos/ntoskrnl/fsrtl/filelock.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/filelock.c?r... ============================================================================== --- trunk/reactos/ntoskrnl/fsrtl/filelock.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/fsrtl/filelock.c [iso-8859-1] Thu Jul 8 19:28:25 2010 @@ -79,7 +79,8 @@ { NTSTATUS Status;
- DPRINT1("FsRtlPrivateLock() is stubplemented!\n"); + static BOOLEAN Warn; + if (!Warn++) DPRINT1("FsRtlPrivateLock() is stubplemented!\n");
/* Initialize the lock, if necessary */ if (!FileLock->LockInformation) @@ -177,7 +178,8 @@ IN PVOID Context OPTIONAL, IN BOOLEAN AlreadySynchronized) { - DPRINT1("FsRtlFastUnlockSingle() is stubplemented!\n"); + static BOOLEAN Warn; + if (!Warn++) DPRINT1("FsRtlFastUnlockSingle() is stubplemented!\n");
return STATUS_SUCCESS; }