[NTOSKRNL]
authorCameron Gutman <aicommander@gmail.com>
Wed, 1 Jun 2011 06:22:54 +0000 (06:22 +0000)
committerCameron Gutman <aicommander@gmail.com>
Wed, 1 Jun 2011 06:22:54 +0000 (06:22 +0000)
commit9048ea9dcf8141e1a3d67b57949b3bbb932a17e1
treeb25d2cc3f4d4e8614a5d8503a4ae30cb106ec65d
parent47328a7510a769f97af00bfd6e70cba815ac3093
[NTOSKRNL]
- Remove the device node when the device object is destroyed to prevent PnP manager from crashing when manipulating device nodes with device objects that no longer exist
- Move removal notifications into IopRemoveDevice and call it from IopPrepareDeviceForRemoval and IoRequestDeviceEject to manage all of the removal relations for each device removed

svn path=/trunk/; revision=52034
reactos/ntoskrnl/io/iomgr/device.c
reactos/ntoskrnl/io/pnpmgr/pnpmgr.c