/* Close down the device. Invalidate all cached blocks.  */
void ide_cdrom_release_real(struct cdrom_device_info *cdi)
/* Close down the device. Invalidate all cached blocks.  */
void ide_cdrom_release_real(struct cdrom_device_info *cdi)
{
	ide_drive_t *drive = cdi->handle;
	if (!cdi->use_count)
		drive->atapi_flags &= ~IDE_AFLAG_TOC_VALID;
}