diff options
author | Tejun Heo <htejun@gmail.com> | 2006-03-31 20:41:11 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-31 10:14:42 -0500 |
commit | 8e0e694a3a48212bfe29a9ad3cd592bf68dfec81 (patch) | |
tree | 82f2b114160c8f1a6537c471fea7b41e50a80814 /drivers/scsi/libata.h | |
parent | e4a70e76add280db6068426716a9b2a74099144f (diff) | |
download | linux-3.10-8e0e694a3a48212bfe29a9ad3cd592bf68dfec81.tar.gz linux-3.10-8e0e694a3a48212bfe29a9ad3cd592bf68dfec81.tar.bz2 linux-3.10-8e0e694a3a48212bfe29a9ad3cd592bf68dfec81.zip |
[PATCH] libata: make ata_qc_issue complete failed qcs
There is no reason for the issuer to diddle with a failed qc as the
issuer has complete control over when a qc gets freed (usually in
->complete_fn). Make ata_qc_issue() responsible for completing qcs
which failed to issue.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/libata.h')
-rw-r--r-- | drivers/scsi/libata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libata.h b/drivers/scsi/libata.h index 65f52beea88..1c755b14521 100644 --- a/drivers/scsi/libata.h +++ b/drivers/scsi/libata.h @@ -47,7 +47,7 @@ extern struct ata_queued_cmd *ata_qc_new_init(struct ata_port *ap, extern int ata_rwcmd_protocol(struct ata_queued_cmd *qc); extern void ata_port_flush_task(struct ata_port *ap); extern void ata_qc_free(struct ata_queued_cmd *qc); -extern unsigned int ata_qc_issue(struct ata_queued_cmd *qc); +extern void ata_qc_issue(struct ata_queued_cmd *qc); extern int ata_check_atapi_dma(struct ata_queued_cmd *qc); extern void ata_dev_select(struct ata_port *ap, unsigned int device, unsigned int wait, unsigned int can_sleep); |