From 54d56a1de4839e2d04b27a8c2d6724631fe90db8 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Tue, 29 Sep 2015 16:28:59 +0000 Subject: [PATCH] [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 --- reactos/ntoskrnl/fsrtl/oplock.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/reactos/ntoskrnl/fsrtl/oplock.c b/reactos/ntoskrnl/fsrtl/oplock.c index 26078972101..280b475701b 100644 --- a/reactos/ntoskrnl/fsrtl/oplock.c +++ b/reactos/ntoskrnl/fsrtl/oplock.c @@ -49,7 +49,7 @@ FsRtlCheckOplock(IN POPLOCK Oplock, IN POPLOCK_FS_PREPOST_IRP PostIrpRoutine OPTIONAL) { /* Unimplemented */ - KeBugCheck(FILE_SYSTEM); + UNIMPLEMENTED; return STATUS_NOT_IMPLEMENTED; } @@ -72,13 +72,13 @@ NTAPI FsRtlCurrentBatchOplock(IN POPLOCK Oplock) { /* Unimplemented */ - KeBugCheck(FILE_SYSTEM); + UNIMPLEMENTED; return FALSE; } /*++ * @name FsRtlInitializeOplock - * @unimplemented + * @implemented * * FILLME * @@ -94,7 +94,7 @@ VOID NTAPI FsRtlInitializeOplock(IN OUT POPLOCK Oplock) { - UNIMPLEMENTED; + PAGED_CODE(); } /*++ @@ -124,7 +124,7 @@ FsRtlOplockFsctrl(IN POPLOCK Oplock, IN ULONG OpenCount) { /* Unimplemented */ - KeBugCheck(FILE_SYSTEM); + UNIMPLEMENTED; return STATUS_NOT_IMPLEMENTED; } -- 2.17.1