diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 07:46:44 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 07:46:44 -0400 |
commit | ba7d479c36dde12821c01ad0696d678635b8fb92 (patch) | |
tree | 71438396a23abe773a31ea4177ca6e46a56cabe2 /drivers/ide/ide-io.c | |
parent | f974b196f58fe042c7b2b4c0ee15d5a6112dbf40 (diff) |
ide: use ide_end_rq() in ide_complete_rq()
This results in PIO->DMA retry being triggered also on completion
of requests using ide_complete_rq() instead of ide_end_request().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-io.c')
-rw-r--r-- | drivers/ide/ide-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c index a4aa4bf84738..8e2868617a46 100644 --- a/drivers/ide/ide-io.c +++ b/drivers/ide/ide-io.c | |||
@@ -147,7 +147,7 @@ int ide_complete_rq(ide_drive_t *drive, int error, unsigned int nr_bytes) | |||
147 | struct request *rq = hwif->rq; | 147 | struct request *rq = hwif->rq; |
148 | int rc; | 148 | int rc; |
149 | 149 | ||
150 | rc = blk_end_request(rq, error, nr_bytes); | 150 | rc = ide_end_rq(drive, rq, error, nr_bytes); |
151 | if (rc == 0) | 151 | if (rc == 0) |
152 | hwif->rq = NULL; | 152 | hwif->rq = NULL; |
153 | 153 | ||