Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29285
b: refs/heads/master
c: 1586930
h: refs/heads/master
i:
  29283: dfd4040
v: v3
  • Loading branch information
Tejun Heo committed May 15, 2006
1 parent a54bf35 commit 27fbd00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7401abf2f44695ef44eef47d5deba1c20214a063
refs/heads/master: 158693031d7c58a355ec1852052a4fca75fd3bda
5 changes: 5 additions & 0 deletions trunk/drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1031,6 +1031,9 @@ unsigned ata_exec_internal(struct ata_port *ap, struct ata_device *dev,
spin_unlock_irqrestore(&ap->host_set->lock, flags);
}

/* finish up */
spin_lock_irqsave(&ap->host_set->lock, flags);

*tf = qc->tf;
err_mask = qc->err_mask;

Expand All @@ -1052,6 +1055,8 @@ unsigned ata_exec_internal(struct ata_port *ap, struct ata_device *dev,
ata_port_probe(ap);
}

spin_unlock_irqrestore(&ap->host_set->lock, flags);

return err_mask;
}

Expand Down

0 comments on commit 27fbd00

Please sign in to comment.