diff options
| author | 2006-01-23 13:09:36 +0900 | |
|---|---|---|
| committer | 2006-01-26 22:33:50 -0500 | |
| commit | 8e436af9326f5cc2e07d76505154ffddfb04b485 (patch) | |
| tree | 26d5a6716ff3c164613811a78e5a06c353d28fe3 /scripts/Makefile.thinlto | |
| parent | [PATCH] libata: make the owner of a qc responsible for freeing it (diff) | |
[PATCH] libata: fix ata_qc_issue() error handling
When ata_qc_issue() fails, the qc might have been dma mapped or not.
So, performing only ata_qc_free() results in dma map leak. This patch
makes ata_qc_issue() mark dma map flags correctly on failure and calls
ata_qc_complete() after ata_qc_issue() fails.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
