aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-floppy.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:44 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:44 -0400
commitf974b196f58fe042c7b2b4c0ee15d5a6112dbf40 (patch)
treeb717d35a8d6b3c60aa7a95ca1a1002918cb678a1 /drivers/ide/ide-floppy.c
parenta9587fd8c48415cc93fef7f4ba7748a5d3477e7b (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-floppy.c')
-rw-r--r--drivers/ide/ide-floppy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c
index 572aa9696dad..7ef2b90e530a 100644
--- a/drivers/ide/ide-floppy.c
+++ b/drivers/ide/ide-floppy.c
@@ -261,7 +261,7 @@ static ide_startstop_t ide_floppy_do_request(ide_drive_t *drive,
261 261
262 if (blk_special_request(rq)) { 262 if (blk_special_request(rq)) {
263 rq->errors = 0; 263 rq->errors = 0;
264 ide_complete_rq(drive, 0); 264 ide_complete_rq(drive, 0, blk_rq_bytes(rq));
265 return ide_stopped; 265 return ide_stopped;
266 } else 266 } else
267 goto out_end; 267 goto out_end;