mirror of
https://github.com/reactos/reactos.git
synced 2025-01-11 16:51:06 +00:00
Reference file handle according to previous mode
svn path=/trunk/; revision=29307
This commit is contained in:
parent
c81402138a
commit
b067e31df6
1 changed files with 1 additions and 1 deletions
|
@ -2421,7 +2421,7 @@ MmCreateDataFileSection(PROS_SECTION_OBJECT *SectionObject,
|
|||
Status = ObReferenceObjectByHandle(FileHandle,
|
||||
FileAccess,
|
||||
IoFileObjectType,
|
||||
UserMode,
|
||||
ExGetPreviousMode(),
|
||||
(PVOID*)(PVOID)&FileObject,
|
||||
NULL);
|
||||
if (!NT_SUCCESS(Status))
|
||||
|
|
Loading…
Reference in a new issue