fc_remove_host(9)

fc_remove_host9

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

Usage

void fc_remove_host(struct Scsi_Host * shost);

Arguments

shost

Which Scsi_Host

Overview

This routine is expected to be called immediately preceding the a driver's call to scsi_remove_host.

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

Notes

This routine assumes no locks are held on entry.

Releases

5 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9

Authors

James Bottomley <[email protected]>

Author.

Rob Landley <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.