diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 07:46:44 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 07:46:44 -0400 |
commit | f974b196f58fe042c7b2b4c0ee15d5a6112dbf40 (patch) | |
tree | b717d35a8d6b3c60aa7a95ca1a1002918cb678a1 /drivers/ide/ide-tape.c | |
parent | a9587fd8c48415cc93fef7f4ba7748a5d3477e7b (diff) |
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>
Diffstat (limited to 'drivers/ide/ide-tape.c')
-rw-r--r-- | drivers/ide/ide-tape.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index 94f6fb8c147a..2df708927687 100644 --- a/drivers/ide/ide-tape.c +++ b/drivers/ide/ide-tape.c | |||
@@ -778,7 +778,7 @@ static ide_startstop_t idetape_do_request(ide_drive_t *drive, | |||
778 | "Two DSC requests were queued\n"); | 778 | "Two DSC requests were queued\n"); |
779 | drive->failed_pc = NULL; | 779 | drive->failed_pc = NULL; |
780 | rq->errors = 0; | 780 | rq->errors = 0; |
781 | ide_complete_rq(drive, 0); | 781 | ide_complete_rq(drive, 0, blk_rq_bytes(rq)); |
782 | return ide_stopped; | 782 | return ide_stopped; |
783 | } | 783 | } |
784 | 784 | ||