[NTOSKRNL]

- Uncomment a device node traversal check

svn path=/trunk/; revision=53290
This commit is contained in:
Cameron Gutman 2011-08-18 00:04:49 +00:00
parent c477153292
commit c85915b113

View file

@ -2118,7 +2118,7 @@ IopActionInitChildServices(PDEVICE_NODE DeviceNode,
* Make sure this device node is a direct child of the parent device node * Make sure this device node is a direct child of the parent device node
* that is given as an argument * that is given as an argument
*/ */
#if 0
if (DeviceNode->Parent != ParentDeviceNode) if (DeviceNode->Parent != ParentDeviceNode)
{ {
/* /*
@ -2127,7 +2127,7 @@ IopActionInitChildServices(PDEVICE_NODE DeviceNode,
DPRINT("Stop\n"); DPRINT("Stop\n");
return STATUS_UNSUCCESSFUL; return STATUS_UNSUCCESSFUL;
} }
#endif
if (IopDeviceNodeHasFlag(DeviceNode, DNF_STARTED) || if (IopDeviceNodeHasFlag(DeviceNode, DNF_STARTED) ||
IopDeviceNodeHasFlag(DeviceNode, DNF_ADDED) || IopDeviceNodeHasFlag(DeviceNode, DNF_ADDED) ||
IopDeviceNodeHasFlag(DeviceNode, DNF_DISABLED)) IopDeviceNodeHasFlag(DeviceNode, DNF_DISABLED))