[PATCH] possible fix for broken floppy driver, take 2
authorMikael Pettersson <mikpe@csd.uu.se>
Wed, 22 May 2002 07:31:36 +0000 (00:31 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Wed, 22 May 2002 07:31:36 +0000 (00:31 -0700)
commitd0f0cde199764cb083b3617c3739f45b1a73052d
tree62bffa26a5e1588b0fc48a348d814ea383a445d7
parentc14217358773b5954e4406e0bd63c75f8f66803f
[PATCH] possible fix for broken floppy driver, take 2

Here is an updated patch for the floppy driver which got broken in
2.5.13. "read block 0 on ->revalidate()" is now implemented through
the bio interface, following a suggestion by Christoph Hellwig.

I still cannot explain why block_dev.c's ->bd_block_size change
caused data corruption, but removing that code fixes the floppy
driver and doesn't seem to cause any problems on my test box.
drivers/block/floppy.c
fs/block_dev.c