]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/scsi/libiscsi.h
[SCSI] libiscsi: do not take host lock in queuecommand
[mv-sheeva.git] / include / scsi / libiscsi.h
index 68e951d79f0b1f03f90aa5895496244f93398576..748382b32b52d5ecce2c76748f171ff66333096d 100644 (file)
@@ -89,6 +89,7 @@ enum {
        ISCSI_TASK_RUNNING,
        ISCSI_TASK_ABRT_TMF,            /* aborted due to TMF */
        ISCSI_TASK_ABRT_SESS_RECOV,     /* aborted due to session recovery */
+       ISCSI_TASK_REQUEUE_SCSIQ,       /* qcmd requeueing to scsi-ml */
 };
 
 struct iscsi_r2t_info {
@@ -341,7 +342,7 @@ extern int iscsi_eh_abort(struct scsi_cmnd *sc);
 extern int iscsi_eh_recover_target(struct scsi_cmnd *sc);
 extern int iscsi_eh_session_reset(struct scsi_cmnd *sc);
 extern int iscsi_eh_device_reset(struct scsi_cmnd *sc);
-extern int iscsi_queuecommand(struct Scsi_Host *h, struct scsi_cmnd *sc);
+extern int iscsi_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *sc);
 
 /*
  * iSCSI host helpers.