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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-atapi.c b/drivers/ide/ide-atapi.c
index 5504a84e9bd6..30156aa61016 100644
--- a/drivers/ide/ide-atapi.c
+++ b/drivers/ide/ide-atapi.c
@@ -404,7 +404,7 @@ static ide_startstop_t ide_pc_intr(ide_drive_t *drive)
404 404
405 if (blk_special_request(rq)) { 405 if (blk_special_request(rq)) {
406 rq->errors = 0; 406 rq->errors = 0;
407 ide_complete_rq(drive, 0); 407 ide_complete_rq(drive, 0, blk_rq_bytes(rq));
408 } else { 408 } else {
409 if (blk_fs_request(rq) == 0 && uptodate <= 0) { 409 if (blk_fs_request(rq) == 0 && uptodate <= 0) {
410 if (rq->errors == 0) 410 if (rq->errors == 0)