diff options
author | Tejun Heo <htejun@gmail.com> | 2006-02-10 01:10:48 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-02-10 06:50:45 -0500 |
commit | 341963b909a01d2f38d86f5db8dd1f8c80bd6dbf (patch) | |
tree | b19def143135b45b64d62e4e048aaae5b711696f /drivers/scsi/libata-scsi.c | |
parent | 1fdffbce0332b3e00993d741e76935e7f4f0d40f (diff) |
[PATCH] libata: add ATA_QCFLAG_EH_SCHEDULED
Add ATA_QCFLAG_EH_SCHEDULED. If this flag is set, the qc is owned by
EH and normal completion path is not allowed to finish it. This patch
doesn't actually use this flag.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/scsi/libata-scsi.c')
-rw-r--r-- | drivers/scsi/libata-scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c index b007bb409382..1df468eb2bf3 100644 --- a/drivers/scsi/libata-scsi.c +++ b/drivers/scsi/libata-scsi.c | |||
@@ -770,7 +770,7 @@ static void __ata_eh_qc_complete(struct ata_queued_cmd *qc) | |||
770 | 770 | ||
771 | spin_lock_irqsave(&ap->host_set->lock, flags); | 771 | spin_lock_irqsave(&ap->host_set->lock, flags); |
772 | qc->scsidone = ata_eh_scsidone; | 772 | qc->scsidone = ata_eh_scsidone; |
773 | ata_qc_complete(qc); | 773 | __ata_qc_complete(qc); |
774 | assert(!ata_tag_valid(qc->tag)); | 774 | assert(!ata_tag_valid(qc->tag)); |
775 | spin_unlock_irqrestore(&ap->host_set->lock, flags); | 775 | spin_unlock_irqrestore(&ap->host_set->lock, flags); |
776 | 776 | ||