Author: akorotaev
Date: Sat Jan 12 19:12:42 2008
New Revision: 31739
URL:
http://svn.reactos.org/svn/reactos?rev=31739&view=rev
Log:
- Call ObReferenceObjectByHandle with AccessMode == KernelMode
- The branch now seems to be fully merged with trunk, and works as it did for 0.3.1
Modified:
branches/cache_manager_rewrite/mm/section.c
Modified: branches/cache_manager_rewrite/mm/section.c
URL:
http://svn.reactos.org/svn/reactos/branches/cache_manager_rewrite/mm/sectio…
==============================================================================
--- branches/cache_manager_rewrite/mm/section.c (original)
+++ branches/cache_manager_rewrite/mm/section.c Sat Jan 12 19:12:42 2008
@@ -6105,7 +6105,7 @@
Status = ObReferenceObjectByHandle(FileHandle,
FileAccess,
IoFileObjectType,
- UserMode,
+ KernelMode,
(PVOID*)&FileObject,
NULL);
if (!NT_SUCCESS(Status))