temp
This commit is contained in:
1 parent
d36f19509c
commit
30d20457f0
309 files changed
+121746
-1963
No files matched your search
@@ -379,7 +379,9 @@ __declspec(dllexport) KSTATUS IoRemoveVolume(IO_VOLUME* volume, IO_VOLUME_REMOVA
|
||||
KiIoVolumeAddStat(&gVolumeStats.MountedVolumes, -1);
|
||||
KiIoVolumeAddStat(&gVolumeStats.RemovedVolumes, 1);
|
||||
KiIoNotifyVolumeChange();
|
||||
DbgPrint("io: volume %u removed reason=%u\n", volume->InstanceId, (unsigned)reason);
|
||||
const char* reasonName = reason == IoVolumeUnmounted ? "unmounted" :
|
||||
reason == IoVolumeBackingRemoved ? "backing-removed" : "provider-dead";
|
||||
DbgPrint("io: volume %u removed reason=%s\n", volume->InstanceId, reasonName);
|
||||
if (dropRegistryReference)
|
||||
ObDereferenceObject(&volume->Header);
|
||||
return NTLSTATUS_SUCCESS;
|
||||
|
||||
Reference in new issue
Block a user