From: Pierre Schweitzer Date: Sun, 17 Dec 2017 22:30:58 +0000 (+0100) Subject: [NTOSKRNL] Make again an attempt at killing the IopParseDevice() hack. X-Git-Tag: 0.4.9-dev~638 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=4ef08871ee67cafc1b3566f408bd4f7a86df9a80 [NTOSKRNL] Make again an attempt at killing the IopParseDevice() hack. For the record, the only place it was remaining was 1st stage, notably because FSD (FastAT <3) was missing a few features. As this features weren't triggered in 3rd stage (unless forced), it was not needed there any longer. Now that they are implemented, and seem working out of the box, this hack might not be longer anymore. This is my ... ?! pfff attempt at killing it. It might not be the last, so just disabling the hack for now. If there are no regressions (who can really believe that?) we'll be clear for dropping it once for all. --- diff --git a/ntoskrnl/io/iomgr/file.c b/ntoskrnl/io/iomgr/file.c index 71863ccb42e..11ad0529b3e 100644 --- a/ntoskrnl/io/iomgr/file.c +++ b/ntoskrnl/io/iomgr/file.c @@ -533,7 +533,7 @@ IopParseDevice(IN PVOID ParseObject, /* Check if we can simply use a dummy file */ UseDummyFile = ((OpenPacket->QueryOnly) || (OpenPacket->DeleteOnly)); -#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. */