Query: ata_scsi_slave_destroy
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ATA_SCSI_SLAVE_DESTR(9) libata SCSI translation/emulat ATA_SCSI_SLAVE_DESTR(9)NAMEata_scsi_slave_destroy - SCSI device is about to be destroyedSYNOPSISvoid ata_scsi_slave_destroy(struct scsi_device * sdev);ARGUMENTSsdev SCSI device to be destroyedDESCRIPTIONsdev is about to be destroyed for hot/warm unplugging. If this unplugging was initiated by libata as indicated by NULL dev->sdev, this function doesn't have to do anything. Otherwise, SCSI layer initiated warm-unplug is in progress. Clear dev->sdev, schedule the device for ATA detach and invoke EH.LOCKINGDefined by SCSI layer. We don't really care.AUTHORJeff Garzik Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 ATA_SCSI_SLAVE_DESTR(9)