[NTOSKRNL]
authorPierre Schweitzer <pierre@reactos.org>
Wed, 29 Oct 2014 18:20:43 +0000 (18:20 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Wed, 29 Oct 2014 18:20:43 +0000 (18:20 +0000)
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

index 8ecf99f..7fa19e5 100644 (file)
@@ -419,6 +419,7 @@ IopParseDevice(IN PVOID ParseObject,
         DirectOpen = TRUE;
     }
 
         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.
      */
     /* 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;
     }
                           WRITE_DAC));
         DirectOpen = TRUE;
     }
+#endif
 
     /* Check if we have a related FO that wasn't a direct open */
     if ((OpenPacket->RelatedFileObject) &&
 
     /* Check if we have a related FO that wasn't a direct open */
     if ((OpenPacket->RelatedFileObject) &&