mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[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:
parent
081c4f25c7
commit
aeeb7963bc
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/*++
|
||||
|
|
Loading…
Reference in a new issue