mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 05:54:05 +00:00
- Fix one more typo in the IoBuildPartialMdl code leading to ignore of TargetMdl flags and always setting MDL_ALLOCATED_FIXED_SIZE and MDL_ALLOCATED_MUST_SUCCEED even if a caller did not want so. Thanks to Alex Ionescu.
svn path=/trunk/; revision=38361
This commit is contained in:
parent
65dc6d8f5c
commit
1015905d06
|
@ -121,7 +121,7 @@ IoBuildPartialMdl(IN PMDL SourceMdl,
|
|||
Length = ADDRESS_AND_SIZE_TO_SPAN_PAGES(VirtualAddress, Length);
|
||||
|
||||
/* Set the MDL Flags */
|
||||
TargetMdl->MdlFlags = (MDL_ALLOCATED_FIXED_SIZE | MDL_ALLOCATED_MUST_SUCCEED);
|
||||
TargetMdl->MdlFlags &= (MDL_ALLOCATED_FIXED_SIZE | MDL_ALLOCATED_MUST_SUCCEED);
|
||||
TargetMdl->MdlFlags |= SourceMdl->MdlFlags & FlagsMask;
|
||||
TargetMdl->MdlFlags |= MDL_PARTIAL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue