[NTOSKRNL]

Don't bugcheck on unimplemented FsRtlOplockFsctrl(), FsRtlCurrentBatchOplock(), FsRtlCheckOplock()
Properly implement FsRtlInitializeOplock() (which is no-op on Windows 2k3)

CORE-10284 #resolve #comment Resolved with r69412

svn path=/trunk/; revision=69412
This commit is contained in:
Pierre Schweitzer 2015-09-29 16:28:59 +00:00
parent 746c7e4435
commit 54d56a1de4

View file

@ -49,7 +49,7 @@ FsRtlCheckOplock(IN POPLOCK Oplock,
IN POPLOCK_FS_PREPOST_IRP PostIrpRoutine OPTIONAL) IN POPLOCK_FS_PREPOST_IRP PostIrpRoutine OPTIONAL)
{ {
/* Unimplemented */ /* Unimplemented */
KeBugCheck(FILE_SYSTEM); UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED; return STATUS_NOT_IMPLEMENTED;
} }
@ -72,13 +72,13 @@ NTAPI
FsRtlCurrentBatchOplock(IN POPLOCK Oplock) FsRtlCurrentBatchOplock(IN POPLOCK Oplock)
{ {
/* Unimplemented */ /* Unimplemented */
KeBugCheck(FILE_SYSTEM); UNIMPLEMENTED;
return FALSE; return FALSE;
} }
/*++ /*++
* @name FsRtlInitializeOplock * @name FsRtlInitializeOplock
* @unimplemented * @implemented
* *
* FILLME * FILLME
* *
@ -94,7 +94,7 @@ VOID
NTAPI NTAPI
FsRtlInitializeOplock(IN OUT POPLOCK Oplock) FsRtlInitializeOplock(IN OUT POPLOCK Oplock)
{ {
UNIMPLEMENTED; PAGED_CODE();
} }
/*++ /*++
@ -124,7 +124,7 @@ FsRtlOplockFsctrl(IN POPLOCK Oplock,
IN ULONG OpenCount) IN ULONG OpenCount)
{ {
/* Unimplemented */ /* Unimplemented */
KeBugCheck(FILE_SYSTEM); UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED; return STATUS_NOT_IMPLEMENTED;
} }