if (shost->eh_wait == NULL)
if (!shost->ehandler)
int scsi_eh_scmd_add(struct scsi_cmnd *scmd, int eh_flag){	struct Scsi_Host *shost = scmd->device->host;	unsigned long flags;	int ret = 0;	if (shost->eh_wait == NULL)		return 0;	spin_lock_irqsave(shost->host_lock, flags);	if (scsi_host_set_state(shost, SHOST_RECOVERY))		if (scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY))			goto out_unlock;	ret = 1;	scmd->eh_eflags |= eh_flag;	list_add_tail(&scmd->eh_entry, &shost->eh_cmd_q);	shost->host_failed++;	scsi_eh_wakeup(shost); out_unlock:	spin_unlock_irqrestore(shost->host_lock, flags);	return ret;}