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:
@ -134,7 +134,7 @@ ide_startstop_t ide_error(ide_drive_t *drive, const char *msg, u8 stat)
|
||||
return ide_stopped;
|
||||
}
|
||||
rq->errors = err;
|
||||
ide_complete_rq(drive, err ? -EIO : 0);
|
||||
ide_complete_rq(drive, err ? -EIO : 0, blk_rq_bytes(rq));
|
||||
return ide_stopped;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user