MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / Ext2CleanupVolumes

Function Ext2CleanupVolumes

Ext2Mgr/enumDisk.cpp:4145–4162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4143
4144
4145VOID
4146Ext2CleanupVolumes()
4147{
4148 PEXT2_VOLUME chain = gVols, next = NULL;
4149
4150 while (chain) {
4151 next = chain->Next;
4152 if (chain->Extent) {
4153 free(chain->Extent);
4154 }
4155 free(chain);
4156 g_nVols--;
4157 chain = next;
4158 }
4159
4160 ASSERT(g_nVols == 0);
4161 g_nVols = 0; gVols = NULL;
4162}
4163
4164VOID
4165Ext2LoadDrvLetter(PEXT2_LETTER drvLetter, CHAR cLetter)

Callers 2

OnDestroyMethod · 0.85
OnRefreshMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected