mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[NTOS:CC] CcMdl*Complete(): Return if FastIO succeeded (#3303)
CORE-17342
This commit is contained in:
parent
cef57d3c44
commit
81be201d98
1 changed files with 17 additions and 9 deletions
|
@ -102,9 +102,13 @@ CcMdlReadComplete (
|
|||
if (FastDispatch && FastDispatch->MdlReadComplete)
|
||||
{
|
||||
/* Use the fast path */
|
||||
FastDispatch->MdlReadComplete(FileObject,
|
||||
if (FastDispatch->MdlReadComplete(FileObject,
|
||||
MdlChain,
|
||||
DeviceObject);
|
||||
DeviceObject))
|
||||
{
|
||||
/* Request was handled */
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/* Use slow path */
|
||||
|
@ -132,10 +136,14 @@ CcMdlWriteComplete (
|
|||
if (FastDispatch && FastDispatch->MdlWriteComplete)
|
||||
{
|
||||
/* Use the fast path */
|
||||
FastDispatch->MdlWriteComplete(FileObject,
|
||||
if (FastDispatch->MdlWriteComplete(FileObject,
|
||||
FileOffset,
|
||||
MdlChain,
|
||||
DeviceObject);
|
||||
DeviceObject))
|
||||
{
|
||||
/* Request was handled */
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/* Use slow path */
|
||||
|
|
Loading…
Reference in a new issue