'\" t .\" Title: fc_remove_host .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: SCSI mid layer .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "FC_REMOVE_HOST" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "SCSI mid layer" .\" ----------------------------------------------------------------- .\" * 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" fc_remove_host \- called to terminate any fc_transport\-related elements for a scsi host\&. .SH "SYNOPSIS" .HP \w'void\ fc_remove_host('u .BI "void fc_remove_host(struct\ Scsi_Host\ *\ " "shost" ");" .SH "ARGUMENTS" .PP \fIshost\fR .RS 4 Which Scsi_Host .RE .SH "DESCRIPTION" .PP This routine is expected to be called immediately preceding the a driver\*(Aqs call to \fBscsi_remove_host\fR\&. .SH "WARNING" .PP A driver utilizing the fc_transport, which fails to call this routine prior to \fBscsi_remove_host\fR, will leave dangling objects in /sys/class/fc_remote_ports\&. Access to any of these objects can result in a system crash !!! .SH "NOTES" .PP This routine assumes no locks are held on entry\&. .SH "AUTHORS" .PP \fBJames Bottomley\fR <\&James.Bottomley@hansenpartnership.com\&> .RS 4 Author. .RE .PP \fBRob Landley\fR <\&rob@landley.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br