Author: arty
Date: Fri Nov 20 06:24:51 2009
New Revision: 44234
URL:
http://svn.reactos.org/svn/reactos?rev=44234&view=rev
Log:
We can safely ignore oplock with mostly failures as far as i can tell.
Modified:
branches/arty-newcc/ntoskrnl/fsrtl/oplock.c
Modified: branches/arty-newcc/ntoskrnl/fsrtl/oplock.c
URL:
http://svn.reactos.org/svn/reactos/branches/arty-newcc/ntoskrnl/fsrtl/oploc…
==============================================================================
--- branches/arty-newcc/ntoskrnl/fsrtl/oplock.c [iso-8859-1] (original)
+++ branches/arty-newcc/ntoskrnl/fsrtl/oplock.c [iso-8859-1] Fri Nov 20 06:24:51 2009
@@ -9,7 +9,7 @@
/* INCLUDES ******************************************************************/
#include <ntoskrnl.h>
-#define NDEBUG
+//#define NDEBUG
#include <debug.h>
/* PUBLIC FUNCTIONS **********************************************************/
@@ -49,8 +49,9 @@
IN POPLOCK_FS_PREPOST_IRP PostIrpRoutine OPTIONAL)
{
/* Unimplemented */
- KeBugCheck(FILE_SYSTEM);
- return STATUS_NOT_IMPLEMENTED;
+ //KeBugCheck(FILE_SYSTEM);
+ DPRINT("FsRtlCheckOplock\n");
+ return STATUS_SUCCESS; // STATUS_NOT_IMPLEMENTED
}
/*++
@@ -72,7 +73,8 @@
FsRtlCurrentBatchOplock(IN POPLOCK Oplock)
{
/* Unimplemented */
- KeBugCheck(FILE_SYSTEM);
+ //KeBugCheck(FILE_SYSTEM);
+ DPRINT("FsRtlCurrentBatchOplock\n");
return FALSE;
}
@@ -95,6 +97,7 @@
FsRtlInitializeOplock(IN OUT POPLOCK Oplock)
{
UNREFERENCED_PARAMETER(Oplock);
+ DPRINT("FsRtlInitializeOplock\n");
}
/*++
@@ -124,7 +127,8 @@
IN ULONG OpenCount)
{
/* Unimplemented */
- KeBugCheck(FILE_SYSTEM);
+ //KeBugCheck(FILE_SYSTEM);
+ DPRINT("FsRtlOplockFsctrl\n");
return STATUS_NOT_IMPLEMENTED;
}
@@ -147,7 +151,8 @@
FsRtlOplockIsFastIoPossible(IN POPLOCK Oplock)
{
/* Unimplemented */
- KeBugCheck(FILE_SYSTEM);
+ //KeBugCheck(FILE_SYSTEM);
+ DPRINT("FsRtlOplockIsFastIoPossible\n");
return FALSE;
}
@@ -170,6 +175,7 @@
FsRtlUninitializeOplock(IN POPLOCK Oplock)
{
/* Unimplemented */
- KeBugCheck(FILE_SYSTEM);
+ //KeBugCheck(FILE_SYSTEM);
+ DPRINT("FsRtlUninitializeOplock\n");
}