diff options
Diffstat (limited to 'drivers/scsi/qla1280.c')
-rw-r--r-- | drivers/scsi/qla1280.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c index 653e589b7d7f..638be81c4509 100644 --- a/drivers/scsi/qla1280.c +++ b/drivers/scsi/qla1280.c | |||
@@ -1098,7 +1098,13 @@ qla1280_error_action(struct scsi_cmnd *cmd, enum action action) | |||
1098 | static int | 1098 | static int |
1099 | qla1280_eh_abort(struct scsi_cmnd * cmd) | 1099 | qla1280_eh_abort(struct scsi_cmnd * cmd) |
1100 | { | 1100 | { |
1101 | return qla1280_error_action(cmd, ABORT_COMMAND); | 1101 | int rc; |
1102 | |||
1103 | spin_lock_irq(cmd->device->host->host_lock); | ||
1104 | rc = qla1280_error_action(cmd, ABORT_COMMAND); | ||
1105 | spin_unlock_irq(cmd->device->host->host_lock); | ||
1106 | |||
1107 | return rc; | ||
1102 | } | 1108 | } |
1103 | 1109 | ||
1104 | /************************************************************************** | 1110 | /************************************************************************** |