Author: pschweitzer
Date: Fri Oct 30 18:54:16 2015
New Revision: 69742
URL:
http://svn.reactos.org/svn/reactos?rev=69742&view=rev
Log:
[NTOSKRNL]
Improve the oplocks stubs:
- Always return success when FsRtlCheckOplock() is called: we deny oplock creation at
FsRtlOplockFsctrl(), so the oplocks can only be fine.
- Always return TRUE when FsRtlOplockIsFastIoPossible() is called: we deny oplock creation
at FsRtlOplockFsctrl(), so no oplock can prevent fastio from happening.
This enables (for real :-)) write support in extX FSD. Not 100% perfect though, as it hits
an assert in MCB (but that's yet another story).
Full implementation to come later on.
CORE-10407
CORE-10442
Modified:
trunk/reactos/ntoskrnl/fsrtl/oplock.c
Modified: trunk/reactos/ntoskrnl/fsrtl/oplock.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/oplock.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/fsrtl/oplock.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/fsrtl/oplock.c [iso-8859-1] Fri Oct 30 18:54:16 2015
@@ -50,7 +50,7 @@
{
/* Unimplemented */
UNIMPLEMENTED;
- return STATUS_NOT_IMPLEMENTED;
+ return STATUS_SUCCESS;
}
/*++
@@ -147,7 +147,7 @@
FsRtlOplockIsFastIoPossible(IN POPLOCK Oplock)
{
UNIMPLEMENTED;
- return FALSE;
+ return TRUE;
}
/*++