lkml.org 
[lkml]   [2002]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [OOPS]: 2.5.19 oopses when writing to floppy
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/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.038 / U:6.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site