'\" t .\" Title: fc_remove_host .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: SCSI mid layer .\" Source: Kernel Hackers Manual 4.11.6 .\" Language: English .\" .TH "FC_REMOVE_HOST" "9" "July 2017" "Kernel Hackers Manual 4\&.11\&" "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 \fIstruct Scsi_Host * shost\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\&. .PP WARNING: 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