diff options
author | Dan Williams <dan.j.williams@intel.com> | 2012-01-10 14:39:13 -0800 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-29 15:20:55 -0600 |
commit | 7d05919aad080074453de880822fe5805875645f (patch) | |
tree | df78c12a7bfc9acaefd91d2a8852dca17c178790 /include/scsi | |
parent | 45c73b65194173e77030d5b95abe5b63a402d268 (diff) | |
download | linux-7d05919aad080074453de880822fe5805875645f.tar.gz linux-7d05919aad080074453de880822fe5805875645f.tar.bz2 linux-7d05919aad080074453de880822fe5805875645f.zip |
[SCSI] libsas: mark all domain devices gone if root port disappears
If the top level expander is hot removed, mark all child devices as gone
before unregistration to short circuit futile recovery.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/libsas.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h index 55bab8633807..4a42be34fad0 100644 --- a/include/scsi/libsas.h +++ b/include/scsi/libsas.h @@ -664,7 +664,7 @@ void sas_init_ex_attr(void); int sas_ex_revalidate_domain(struct domain_device *); -void sas_unregister_domain_devices(struct asd_sas_port *port); +void sas_unregister_domain_devices(struct asd_sas_port *port, int gone); void sas_init_disc(struct sas_discovery *disc, struct asd_sas_port *); int sas_discover_event(struct asd_sas_port *, enum discover_event ev); |