1. NAME▲

fc_remove_host - called to terminate any fc_transport-related elements for a scsi host.

2. SYNOPSIS ▲

void fc_remove_host(struct Scsi_Host *  shost );

3. ARGUMENTS ▲

shost
    Which Scsi_Host

4. DESCRIPTION ▲

This routine is expected to be called immediately preceding the a driverAqs call to scsi_remove_host.

5. WARNING ▲

A 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 !!!

6. NOTES ▲

This routine assumes no locks are held on entry.

7. AUTHORS ▲

James Bottomley <>
    Author.

Rob Landley <>
    Author.

8. COPYRIGHT ▲