mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
[NTOSKRNL]
Comment out two overzealous ASSERTs svn path=/trunk/; revision=55996
This commit is contained in:
parent
354085c7e8
commit
d2e6e7b9d0
|
@ -251,7 +251,9 @@ FsRtlPrivateLock(IN PFILE_LOCK FileLock,
|
|||
BOOLEAN InsertedNew;
|
||||
|
||||
DPRINT1("FsRtlPrivateLock() is stubplemented!\n");
|
||||
ASSERT(AlreadySynchronized);
|
||||
/* Windows 2003 ignores that parameter
|
||||
ASSERT(AlreadySynchronized);
|
||||
*/
|
||||
|
||||
/* Initialize the lock, if necessary */
|
||||
if (!FileLock->LockInformation)
|
||||
|
@ -502,7 +504,8 @@ FsRtlFastUnlockSingle(IN PFILE_LOCK FileLock,
|
|||
PLOCK_INFORMATION InternalInfo = FileLock->LockInformation;
|
||||
// The region to unlock must correspond exactly to a previously locked region
|
||||
// -- msdn
|
||||
ASSERT(AlreadySynchronized);
|
||||
// But Windows 2003 doesn't assert on it and simply ignores that parameter
|
||||
// ASSERT(AlreadySynchronized);
|
||||
Find.Exclusive.FileLock.StartingByte = *FileOffset;
|
||||
Find.Exclusive.FileLock.EndingByte.QuadPart =
|
||||
FileOffset->QuadPart + Length->QuadPart;
|
||||
|
|
Loading…
Reference in a new issue