ide: pass number of bytes to complete to ide_complete_rq()
[deliverable/linux.git] / drivers / ide / ide-floppy.c
index 572aa9696daded9ace53b175f53619853915d0b1..7ef2b90e530a94b8ad6d96d4a1ba26d417a03e80 100644 (file)
@@ -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;
This page took 0.036783 seconds and 5 git commands to generate.