1FC_REMOVE_HOST(9) SCSI mid layer FC_REMOVE_HOST(9)
2
3
4
6 fc_remove_host - called to terminate any fc_transport-related elements
7 for a scsi host.
8
10 void fc_remove_host(struct Scsi_Host * shost);
11
13 shost
14 Which Scsi_Host
15
17 This routine is expected to be called immediately preceding the a
18 driver's call to scsi_remove_host.
19
21 A driver utilizing the fc_transport, which fails to call this routine
22 prior to scsi_remove_host, will leave dangling objects in
23 /sys/class/fc_remote_ports. Access to any of these objects can result
24 in a system crash !!!
25
27 This routine assumes no locks are held on entry.
28
30 James Bottomley <James.Bottomley@hansenpartnership.com>
31 Author.
32
33 Rob Landley <rob@landley.net>
34 Author.
35
37Kernel Hackers Manual 3.10 June 2019 FC_REMOVE_HOST(9)