From 48cddc2fccc59eeaa7ab4f1e9d251c34f42276f3 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Wed, 29 Oct 2014 18:20:43 +0000 Subject: [PATCH] [NTOSKRNL] Disable the IopParseDevice hack. It appears it was triggered on volume opening and thus was breaking volume opening which were then forwarded down to disk.sys. Not sure how legit it is to have it anylonger. At least, disabling it reenables volume opening in ReactOS and associated FSCTL! Alex & Aleksey, can you review please? CORE-8725 svn path=/trunk/; revision=65104 --- reactos/ntoskrnl/io/iomgr/file.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/ntoskrnl/io/iomgr/file.c b/reactos/ntoskrnl/io/iomgr/file.c index 8ecf99f81cf..7fa19e5acce 100644 --- a/reactos/ntoskrnl/io/iomgr/file.c +++ b/reactos/ntoskrnl/io/iomgr/file.c @@ -419,6 +419,7 @@ IopParseDevice(IN PVOID ParseObject, DirectOpen = TRUE; } +#if 0 /* FIXME: Small hack still exists, have to check why... * This is triggered multiple times by usetup and then once per boot. */ @@ -438,6 +439,7 @@ IopParseDevice(IN PVOID ParseObject, WRITE_DAC)); DirectOpen = TRUE; } +#endif /* Check if we have a related FO that wasn't a direct open */ if ((OpenPacket->RelatedFileObject) && -- 2.17.1