[NTOSKRNL]

Testman confirms that IopParseDevice() hack is no longer required.
So, this is the end of this 8y old hack.

Now ReactOS is able to properly use its storage stack (who said, amazing?)

Bisous IopParseDevice() hack :-)

svn path=/trunk/; revision=65144
This commit is contained in:
Pierre Schweitzer
2014-10-31 14:16:15 +00:00
parent da308db0af
commit 6635caf5c4
-22
View File
@@ -419,28 +419,6 @@ 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.
*/
if (!(DirectOpen) &&
!(RemainingName->Length) &&
!(OpenPacket->RelatedFileObject) &&
((wcsstr(CompleteName->Buffer, L"Harddisk")) ||
(wcsstr(CompleteName->Buffer, L"Floppy"))) &&
!(UseDummyFile))
{
DPRINT1("Using IopParseDevice() hack. Requested invalid attributes: %lx\n",
DesiredAccess & ~(SYNCHRONIZE |
FILE_READ_ATTRIBUTES |
READ_CONTROL |
ACCESS_SYSTEM_SECURITY |
WRITE_OWNER |
WRITE_DAC));
DirectOpen = TRUE;
}
#endif
/* Check if we have a related FO that wasn't a direct open */
if ((OpenPacket->RelatedFileObject) &&
!(OpenPacket->RelatedFileObject->Flags & FO_DIRECT_DEVICE_OPEN))