mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[NTOSKRNL]
- Uncomment a device node traversal check svn path=/trunk/; revision=53290
This commit is contained in:
parent
c477153292
commit
c85915b113
1 changed files with 2 additions and 2 deletions
|
@ -2118,7 +2118,7 @@ IopActionInitChildServices(PDEVICE_NODE DeviceNode,
|
|||
* Make sure this device node is a direct child of the parent device node
|
||||
* that is given as an argument
|
||||
*/
|
||||
#if 0
|
||||
|
||||
if (DeviceNode->Parent != ParentDeviceNode)
|
||||
{
|
||||
/*
|
||||
|
@ -2127,7 +2127,7 @@ IopActionInitChildServices(PDEVICE_NODE DeviceNode,
|
|||
DPRINT("Stop\n");
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (IopDeviceNodeHasFlag(DeviceNode, DNF_STARTED) ||
|
||||
IopDeviceNodeHasFlag(DeviceNode, DNF_ADDED) ||
|
||||
IopDeviceNodeHasFlag(DeviceNode, DNF_DISABLED))
|
||||
|
|
Loading…
Reference in a new issue