mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 22:36:23 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue