/* Free volume structure (including the contents of directory cache and disk cache). */
VOID FatFreeVolume(IN FAT_VOLUME *Volume)
/* Free volume structure (including the contents of directory cache and disk cache). */
VOID FatFreeVolume(IN FAT_VOLUME *Volume)
{
  if (Volume->CacheBuffer != NULL) {
    FreePool (Volume->CacheBuffer);
  }
  FatCleanupODirCache (Volume);
  FreePool (Volume);
}