mirror of
https://github.com/reactos/reactos.git
synced 2025-01-12 01:00: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,
|
Status = ObReferenceObjectByHandle(FileHandle,
|
||||||
FileAccess,
|
FileAccess,
|
||||||
IoFileObjectType,
|
IoFileObjectType,
|
||||||
UserMode,
|
ExGetPreviousMode(),
|
||||||
(PVOID*)(PVOID)&FileObject,
|
(PVOID*)(PVOID)&FileObject,
|
||||||
NULL);
|
NULL);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
|
|
Loading…
Reference in a new issue