mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user