mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 19:43:31 +08:00
[NTOS:CC] CcMdl*Complete(): Return if FastIO succeeded (#3303)
CORE-17342
This commit is contained in:
parent
cef57d3c44
commit
81be201d98
@ -101,10 +101,14 @@ CcMdlReadComplete (
|
||||
/* Check if we support Fast Calls, and check this one */
|
||||
if (FastDispatch && FastDispatch->MdlReadComplete)
|
||||
{
|
||||
/* Use the fast path */
|
||||
FastDispatch->MdlReadComplete(FileObject,
|
||||
MdlChain,
|
||||
DeviceObject);
|
||||
/* Use the fast path */
|
||||
if (FastDispatch->MdlReadComplete(FileObject,
|
||||
MdlChain,
|
||||
DeviceObject))
|
||||
{
|
||||
/* Request was handled */
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/* Use slow path */
|
||||
@ -131,11 +135,15 @@ CcMdlWriteComplete (
|
||||
/* Check if we support Fast Calls, and check this one */
|
||||
if (FastDispatch && FastDispatch->MdlWriteComplete)
|
||||
{
|
||||
/* Use the fast path */
|
||||
FastDispatch->MdlWriteComplete(FileObject,
|
||||
FileOffset,
|
||||
MdlChain,
|
||||
DeviceObject);
|
||||
/* Use the fast path */
|
||||
if (FastDispatch->MdlWriteComplete(FileObject,
|
||||
FileOffset,
|
||||
MdlChain,
|
||||
DeviceObject))
|
||||
{
|
||||
/* Request was handled */
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/* Use slow path */
|
||||
|
Loading…
Reference in New Issue
Block a user