From 1bc8e4320f9446c6824ff0a99c6803d97e6a9b30 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Thu, 30 Oct 2014 07:49:37 +0000 Subject: [PATCH] [NTOSKRNL] Finally, disable again the IopParseDevice hack. Just for the record, opening a volume with FILE_READ_EA or FILE_READ_DATA is legal and works in Windows (NTFS Info for instance opens it with GENERIC_READ). Let's hope we can rid of this hack forever now... It's been with us since 2006! svn path=/trunk/; revision=65119 --- reactos/ntoskrnl/io/iomgr/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/io/iomgr/file.c b/reactos/ntoskrnl/io/iomgr/file.c index cf10cfebd4d..7fa19e5acce 100644 --- a/reactos/ntoskrnl/io/iomgr/file.c +++ b/reactos/ntoskrnl/io/iomgr/file.c @@ -419,7 +419,7 @@ IopParseDevice(IN PVOID ParseObject, DirectOpen = TRUE; } -#if 1 +#if 0 /* FIXME: Small hack still exists, have to check why... * This is triggered multiple times by usetup and then once per boot. */