[SCSI] libsas: mark all domain devices gone if root port disappears
authorDan Williams <dan.j.williams@intel.com>
Tue, 10 Jan 2012 22:39:13 +0000 (14:39 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 29 Feb 2012 21:20:55 +0000 (15:20 -0600)
commit7d05919aad080074453de880822fe5805875645f
treedf78c12a7bfc9acaefd91d2a8852dca17c178790
parent45c73b65194173e77030d5b95abe5b63a402d268
[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>
drivers/scsi/libsas/sas_discover.c
drivers/scsi/libsas/sas_port.c
include/scsi/libsas.h