mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Reference file handle according to previous mode
svn path=/trunk/; revision=29307
This commit is contained in:
@@ -2421,7 +2421,7 @@ MmCreateDataFileSection(PROS_SECTION_OBJECT *SectionObject,
|
||||
Status = ObReferenceObjectByHandle(FileHandle,
|
||||
FileAccess,
|
||||
IoFileObjectType,
|
||||
UserMode,
|
||||
ExGetPreviousMode(),
|
||||
(PVOID*)(PVOID)&FileObject,
|
||||
NULL);
|
||||
if (!NT_SUCCESS(Status))
|
||||
|
||||
Reference in New Issue
Block a user