summaryrefslogtreecommitdiff
path: root/include/scsi/scsi_eh.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-01-23 04:09:36 (GMT)
committerJeff Garzik <jgarzik@pobox.com>2006-01-27 03:36:28 (GMT)
commit041c5fc33cb7ed4fe5322585a611fb6e29a05d3a (patch)
tree7c03ea4fa7c4329a693ce8041110b27251a9923a /include/scsi/scsi_eh.h
parent9a3d9eb0177eb10500d49cd283b35576082a522d (diff)
downloadlinux-041c5fc33cb7ed4fe5322585a611fb6e29a05d3a.tar.xz
[PATCH] SCSI: export scsi_eh_finish_cmd() and scsi_eh_flush_done_q()
Export two SCSI EH command handling functions. To be used by libata EH. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include/scsi/scsi_eh.h')
-rw-r--r--include/scsi/scsi_eh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/scsi/scsi_eh.h b/include/scsi/scsi_eh.h
index fabd879..d160880 100644
--- a/include/scsi/scsi_eh.h
+++ b/include/scsi/scsi_eh.h
@@ -35,6 +35,9 @@ static inline int scsi_sense_valid(struct scsi_sense_hdr *sshdr)
}
+extern void scsi_eh_finish_cmd(struct scsi_cmnd *scmd,
+ struct list_head *done_q);
+extern void scsi_eh_flush_done_q(struct list_head *done_q);
extern void scsi_report_bus_reset(struct Scsi_Host *, int);
extern void scsi_report_device_reset(struct Scsi_Host *, int, int);
extern int scsi_block_when_processing_errors(struct scsi_device *);