aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2012-01-10 14:39:13 -0800
committerJames Bottomley <JBottomley@Parallels.com>2012-02-29 15:20:55 -0600
commit7d05919aad080074453de880822fe5805875645f (patch)
treedf78c12a7bfc9acaefd91d2a8852dca17c178790 /include/scsi
parent45c73b65194173e77030d5b95abe5b63a402d268 (diff)
downloadkernel_goldelico_gta04-7d05919aad080074453de880822fe5805875645f.zip
kernel_goldelico_gta04-7d05919aad080074453de880822fe5805875645f.tar.gz
kernel_goldelico_gta04-7d05919aad080074453de880822fe5805875645f.tar.bz2
[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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h
index 55bab86..4a42be3 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);