ide: pass number of bytes to complete to ide_complete_rq()
There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
@@ -261,7 +261,7 @@ static ide_startstop_t ide_floppy_do_request(ide_drive_t *drive,
|
||||
|
||||
if (blk_special_request(rq)) {
|
||||
rq->errors = 0;
|
||||
ide_complete_rq(drive, 0);
|
||||
ide_complete_rq(drive, 0, blk_rq_bytes(rq));
|
||||
return ide_stopped;
|
||||
} else
|
||||
goto out_end;
|
||||
|
Reference in New Issue
Block a user