1SCSI_REMOVE_TARGET(9) SCSI mid layer SCSI_REMOVE_TARGET(9)
2
3
4
6 scsi_remove_target - try to remove a target and all its devices
7
9 void scsi_remove_target(struct device * dev);
10
12 dev
13 generic starget or parent of generic stargets to be removed
14
16 This is slightly racy. It is possible that if the user requests the
17 addition of another device then the target won't be removed.
18
20 James Bottomley <James.Bottomley@hansenpartnership.com>
21 Author.
22
23 Rob Landley <rob@landley.net>
24 Author.
25
27Kernel Hackers Manual 3.10 June 2019 SCSI_REMOVE_TARGET(9)