'\" t .\" Title: ata_scsi_slave_destroy .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: libata SCSI translation/emulation .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ATA_SCSI_SLAVE_DESTR" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "libata SCSI translation/emulat" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ata_scsi_slave_destroy \- SCSI device is about to be destroyed .SH "SYNOPSIS" .HP \w'void\ ata_scsi_slave_destroy('u .BI "void ata_scsi_slave_destroy(struct\ scsi_device\ *\ " "sdev" ");" .SH "ARGUMENTS" .PP \fIsdev\fR .RS 4 SCSI device to be destroyed .RE .SH "DESCRIPTION" .PP \fIsdev\fR 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\*(Aqt 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\&. .PP LOCKING: Defined by SCSI layer\&. We don\*(Aqt really care\&. .SH "AUTHOR" .PP \fBJeff Garzik\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br