ata_scsi_slave_destroy9
Scsi device is about to be destroyed
Usage
void ata_scsi_slave_destroy(struct scsi_device * sdev);
Arguments
sdev
SCSI device to be destroyed
Overview
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 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.
LOCKING: Defined by SCSI layer. We don't really care.
Releases
6 releases since Debian 4.0 (Etch); the text changed 5 times.