Query: fc_remove_host
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FC_REMOVE_HOST(9) SCSI mid layer FC_REMOVE_HOST(9)NAMEfc_remove_host - called to terminate any fc_transport-related elements for a scsi host.SYNOPSISvoid fc_remove_host(struct Scsi_Host * shost);ARGUMENTSshost Which Scsi_HostDESCRIPTIONThis routine is expected to be called immediately preceeding the a driver's call to scsi_remove_host.WARNINGA driver utilizing the fc_transport, which fails to call this routine prior to scsi_remove_host, will leave dangling objects in /sys/class/fc_remote_ports. Access to any of these objects can result in a system crash !!!NOTESThis routine assumes no locks are held on entry.AUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 FC_REMOVE_HOST(9)