diff options
author | Dan Williams <dan.j.williams@intel.com> | 2012-01-11 15:08:36 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-29 16:23:24 -0500 |
commit | d230ce691c7712c4f56ba3378d6d2f44628a49f1 (patch) | |
tree | 5d8e334e322e26e807d5c186c9aa349c905c0c9d /include/scsi/sas_ata.h | |
parent | 8abda4d28a55ecb91e39ceb5e3ee264c5a3cd1af (diff) |
[SCSI] libsas: fix mixed topology recovery
If we have a domain with sas and sata devices there may still be sas
recovery actions to take after peeling off the commands to send to
libata.
Reported-by: Andrzej Jakowski <andrzej.jakowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi/sas_ata.h')
-rw-r--r-- | include/scsi/sas_ata.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/scsi/sas_ata.h b/include/scsi/sas_ata.h index da3f37727387..cb724fd010f6 100644 --- a/include/scsi/sas_ata.h +++ b/include/scsi/sas_ata.h | |||
@@ -41,8 +41,8 @@ int sas_ata_init_host_and_port(struct domain_device *found_dev, | |||
41 | 41 | ||
42 | void sas_ata_task_abort(struct sas_task *task); | 42 | void sas_ata_task_abort(struct sas_task *task); |
43 | void sas_ata_strategy_handler(struct Scsi_Host *shost); | 43 | void sas_ata_strategy_handler(struct Scsi_Host *shost); |
44 | int sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q, | 44 | void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q, |
45 | struct list_head *done_q); | 45 | struct list_head *done_q); |
46 | void sas_probe_sata(struct work_struct *work); | 46 | void sas_probe_sata(struct work_struct *work); |
47 | void sas_ata_schedule_reset(struct domain_device *dev); | 47 | void sas_ata_schedule_reset(struct domain_device *dev); |
48 | void sas_ata_wait_eh(struct domain_device *dev); | 48 | void sas_ata_wait_eh(struct domain_device *dev); |
@@ -66,10 +66,9 @@ static inline void sas_ata_strategy_handler(struct Scsi_Host *shost) | |||
66 | { | 66 | { |
67 | } | 67 | } |
68 | 68 | ||
69 | static inline int sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q, | 69 | static inline void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q, |
70 | struct list_head *done_q) | 70 | struct list_head *done_q) |
71 | { | 71 | { |
72 | return 0; | ||
73 | } | 72 | } |
74 | 73 | ||
75 | static inline void sas_probe_sata(struct work_struct *work) | 74 | static inline void sas_probe_sata(struct work_struct *work) |