Re: [OOPS]: 2.5.19 oopses when writing to floppy

Jens Axboe (axboe@suse.de)
Fri, 31 May 2002 09:12:17 +0200


On Fri, May 31 2002, Udo A. Steinberg wrote:
>
> Hi,
>
> I got the following oops when mcopy'ing to a floppy drive with no disk in it.
> I won't be able to read my mail until Sunday, so if you need further info
> it'll have to wait until then.

Does this fix it?

--- drivers/block/floppy.c~ 2002-05-31 09:11:34.000000000 +0200
+++ drivers/block/floppy.c 2002-05-31 09:11:44.000000000 +0200
@@ -3894,7 +3894,7 @@
bio.bi_end_io = floppy_rb0_complete;

submit_bio(READ, &bio);
- generic_unplug_device(bdev_get_queue(bdev));
+ blk_run_queues();
process_fd_request();
wait_for_completion(&complete);

-- 
Jens Axboe

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/