diff options
author | Dan Williams <dan.j.williams@intel.com> | 2012-01-11 02:39:13 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-03-01 01:20:55 +0400 |
commit | 7d05919aad080074453de880822fe5805875645f (patch) | |
tree | df78c12a7bfc9acaefd91d2a8852dca17c178790 /include/scsi/libsas.h | |
parent | 45c73b65194173e77030d5b95abe5b63a402d268 (diff) | |
download | linux-7d05919aad080074453de880822fe5805875645f.tar.xz |
[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/libsas.h')
-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); |