Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24951
b: refs/heads/master
c: e4a70e7
h: refs/heads/master
i:
  24949: 4c8a53c
  24947: 779d93b
  24943: ba2e061
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Mar 31, 2006
1 parent 12dd977 commit 7c07c0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 79ea24e72e59b5f0951483cc4f357afe9bf7ff89
refs/heads/master: e4a70e76add280db6068426716a9b2a74099144f
6 changes: 3 additions & 3 deletions trunk/drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -4006,6 +4006,9 @@ unsigned int ata_qc_issue(struct ata_queued_cmd *qc)
{
struct ata_port *ap = qc->ap;

qc->ap->active_tag = qc->tag;
qc->flags |= ATA_QCFLAG_ACTIVE;

if (ata_should_dma_map(qc)) {
if (qc->flags & ATA_QCFLAG_SG) {
if (ata_sg_setup(qc))
Expand All @@ -4020,9 +4023,6 @@ unsigned int ata_qc_issue(struct ata_queued_cmd *qc)

ap->ops->qc_prep(qc);

qc->ap->active_tag = qc->tag;
qc->flags |= ATA_QCFLAG_ACTIVE;

return ap->ops->qc_issue(qc);

sg_err:
Expand Down

0 comments on commit 7c07c0d

Please sign in to comment.