[PATCH] SCSI: make scsi_implement_eh() generic API for SCSI transports
libata implemented a feature to schedule EH without an associated EH by manipulating shost->host_eh_scheduled in ata_scsi_schedule_eh() directly. Move this function to scsi_error.c and rename it to scsi_schedule_eh(). It is now an exported API for SCSI transports and exported via new header file drivers/scsi/scsi_transport_api.h This patch also de-export scsi_eh_wakeup() which was exported specifically for ata_scsi_schedule_eh(). Signed-off-by:Tejun Heo <htejun@gmail.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
Showing
- drivers/scsi/libata-eh.c 2 additions, 1 deletiondrivers/scsi/libata-eh.c
- drivers/scsi/libata-scsi.c 0 additions, 24 deletionsdrivers/scsi/libata-scsi.c
- drivers/scsi/scsi_error.c 22 additions, 1 deletiondrivers/scsi/scsi_error.c
- drivers/scsi/scsi_priv.h 1 addition, 0 deletionsdrivers/scsi/scsi_priv.h
- drivers/scsi/scsi_transport_api.h 6 additions, 0 deletionsdrivers/scsi/scsi_transport_api.h
- include/scsi/scsi_eh.h 0 additions, 1 deletioninclude/scsi/scsi_eh.h
Loading
Please register or sign in to comment