Skip to content

Commit

Permalink
ide: use ide_end_rq() in ide_complete_rq()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Mar 27, 2009
1 parent f974b19 commit ba7d479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ide/ide-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ int ide_complete_rq(ide_drive_t *drive, int error, unsigned int nr_bytes)
struct request *rq = hwif->rq;
int rc;

rc = blk_end_request(rq, error, nr_bytes);
rc = ide_end_rq(drive, rq, error, nr_bytes);
if (rc == 0)
hwif->rq = NULL;

Expand Down

0 comments on commit ba7d479

Please sign in to comment.