aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-atapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-atapi.c')
-rw-r--r--drivers/ide/ide-atapi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ide/ide-atapi.c b/drivers/ide/ide-atapi.c
index 92c6ef6feb57..5d57af29c4c8 100644
--- a/drivers/ide/ide-atapi.c
+++ b/drivers/ide/ide-atapi.c
@@ -402,9 +402,10 @@ static ide_startstop_t ide_pc_intr(ide_drive_t *drive)
402 if (uptodate == 0) 402 if (uptodate == 0)
403 drive->failed_pc = NULL; 403 drive->failed_pc = NULL;
404 404
405 if (blk_special_request(rq)) 405 if (blk_special_request(rq)) {
406 rq->errors = 0;
406 ide_complete_rq(drive, 0); 407 ide_complete_rq(drive, 0);
407 else 408 } else
408 ide_end_request(drive, uptodate, 0); 409 ide_end_request(drive, uptodate, 0);
409 410
410 return ide_stopped; 411 return ide_stopped;