[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

svn path=/trunk/; revision=69742
This commit is contained in:
Pierre Schweitzer 2015-10-30 18:54:16 +00:00
parent 081c4f25c7
commit aeeb7963bc

View file

@ -50,7 +50,7 @@ FsRtlCheckOplock(IN POPLOCK Oplock,
{
/* Unimplemented */
UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED;
return STATUS_SUCCESS;
}
/*++
@ -147,7 +147,7 @@ NTAPI
FsRtlOplockIsFastIoPossible(IN POPLOCK Oplock)
{
UNIMPLEMENTED;
return FALSE;
return TRUE;
}
/*++