mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[NTOS/FSRTL]
* Remove a harmless ASSERT. Brought to you by Art Yerkes (arty). CORE-6580 #resolve #comment Committed in 58270. svn path=/trunk/; revision=58270
This commit is contained in:
parent
c7ba42abc2
commit
4db4c4b81f
1 changed files with 4 additions and 1 deletions
|
@ -858,7 +858,10 @@ FsRtlFastUnlockSingle(IN PFILE_LOCK FileLock,
|
||||||
Find.Exclusive.FileLock.StartingByte = *FileOffset;
|
Find.Exclusive.FileLock.StartingByte = *FileOffset;
|
||||||
Find.Exclusive.FileLock.EndingByte.QuadPart =
|
Find.Exclusive.FileLock.EndingByte.QuadPart =
|
||||||
FileOffset->QuadPart + Length->QuadPart;
|
FileOffset->QuadPart + Length->QuadPart;
|
||||||
ASSERT(InternalInfo);
|
if (!InternalInfo) {
|
||||||
|
DPRINT("File not previously locked (ever)\n");
|
||||||
|
return STATUS_RANGE_NOT_LOCKED;
|
||||||
|
}
|
||||||
Entry = RtlLookupElementGenericTable(&InternalInfo->RangeTable, &Find);
|
Entry = RtlLookupElementGenericTable(&InternalInfo->RangeTable, &Find);
|
||||||
if (!Entry) {
|
if (!Entry) {
|
||||||
DPRINT("Range not locked %wZ\n", &FileObject->FileName);
|
DPRINT("Range not locked %wZ\n", &FileObject->FileName);
|
||||||
|
|
Loading…
Reference in a new issue