Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (182 commits) [SCSI] aacraid: add an ifdef'd device delete case instead of taking the device offline [SCSI] aacraid: prohibit access to array container space [SCSI] aacraid: add support for handling ATA pass-through commands. [SCSI] aacraid: expose physical devices for models with newer firmware [SCSI] aacraid: respond automatically to volumes added by config tool [SCSI] fcoe: fix fcoe module ref counting [SCSI] libfcoe: FIP Keep-Alive messages for VPorts are sent with incorrect port_id and wwn [SCSI] libfcoe: Fix incorrect MAC address clearing [SCSI] fcoe: fix a circular locking issue with rtnl and sysfs mutex [SCSI] libfc: Move the port_id into lport [SCSI] fcoe: move link speed checking into its own routine [SCSI] libfc: Remove extra pointer check [SCSI] libfc: Remove unused fc_get_host_port_type [SCSI] fcoe: fixes wrong error exit in fcoe_create [SCSI] libfc: set seq_id for incoming sequence [SCSI] qla2xxx: Updates to ISP82xx support. [SCSI] qla2xxx: Optionally disable target reset. [SCSI] qla2xxx: ensure flash operation and host reset via sg_reset are mutually exclusive [SCSI] qla2xxx: Silence bogus warning by gcc for wrap and did. [SCSI] qla2xxx: T10 DIF support added. ...
This commit is contained in:
@@ -1030,8 +1030,6 @@ int __sas_task_abort(struct sas_task *task)
|
||||
void sas_task_abort(struct sas_task *task)
|
||||
{
|
||||
struct scsi_cmnd *sc = task->uldd_task;
|
||||
struct request_queue *q = sc->device->request_queue;
|
||||
unsigned long flags;
|
||||
|
||||
/* Escape for libsas internal commands */
|
||||
if (!sc) {
|
||||
@@ -1043,13 +1041,15 @@ void sas_task_abort(struct sas_task *task)
|
||||
|
||||
if (dev_is_sata(task->dev)) {
|
||||
sas_ata_task_abort(task);
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
struct request_queue *q = sc->device->request_queue;
|
||||
unsigned long flags;
|
||||
|
||||
spin_lock_irqsave(q->queue_lock, flags);
|
||||
blk_abort_request(sc->request);
|
||||
spin_unlock_irqrestore(q->queue_lock, flags);
|
||||
scsi_schedule_eh(sc->device->host);
|
||||
spin_lock_irqsave(q->queue_lock, flags);
|
||||
blk_abort_request(sc->request);
|
||||
spin_unlock_irqrestore(q->queue_lock, flags);
|
||||
scsi_schedule_eh(sc->device->host);
|
||||
}
|
||||
}
|
||||
|
||||
int sas_slave_alloc(struct scsi_device *scsi_dev)
|
||||
|
Reference in New Issue
Block a user