Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162933
b: refs/heads/master
c: 4dc738e
h: refs/heads/master
i:
  162931: 2c5a21d
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Sep 17, 2009
1 parent dbe55e4 commit c964e60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 31b239ad1ba7225435e13f5afc47e48eb674c0cc
refs/heads/master: 4dc738ed2adf28f62f46dd53ef700a51603777f7
4 changes: 2 additions & 2 deletions trunk/drivers/ata/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -5024,8 +5024,6 @@ void ata_qc_complete(struct ata_queued_cmd *qc)
struct ata_device *dev = qc->dev;
struct ata_eh_info *ehi = &dev->link->eh_info;

WARN_ON_ONCE(ap->pflags & ATA_PFLAG_FROZEN);

if (unlikely(qc->err_mask))
qc->flags |= ATA_QCFLAG_FAILED;

Expand All @@ -5038,6 +5036,8 @@ void ata_qc_complete(struct ata_queued_cmd *qc)
}
}

WARN_ON_ONCE(ap->pflags & ATA_PFLAG_FROZEN);

/* read result TF if requested */
if (qc->flags & ATA_QCFLAG_RESULT_TF)
fill_result_tf(qc);
Expand Down

0 comments on commit c964e60

Please sign in to comment.