1. NAME▲

ata_scsi_slave_destroy - SCSI device is about to be destroyed

2. SYNOPSIS ▲

void ata_scsi_slave_destroy(struct scsi_device *  sdev );

3. ARGUMENTS ▲

sdev
    SCSI device to be destroyed

4. DESCRIPTION ▲

sdev is about to be destroyed for hot/warm unplugging. If this unplugging was initiated by libata as indicated by NULL dev->sdev, this function doesnAqt 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.

5. LOCKING ▲

Defined by SCSI layer. We donAqt really care.

6. AUTHOR ▲

Jeff Garzik
    Author.

7. COPYRIGHT ▲