]> git.baikalelectronics.ru Git - kernel.git/commit
floppy: silence warning during disk test
authorStephen Hemminger <shemminger@vyatta.com>
Tue, 15 Jun 2010 11:21:11 +0000 (13:21 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:15:34 +0000 (18:15 +0200)
commite0008fff130dca3f5205266678fecc36038cab78
tree94fbff89dc6a74159cf62b1d6b66e44f241c6c3f
parentd6abcf6ebfa4f69f4c88461725fdb6943a9b3aa2
floppy: silence warning during disk test

The first thing the floppy does is read block 0 to test geometry and to
test for disk presence.  If disk is not present this causes a console
warning message about failed I/O.  Set flag to silence.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/floppy.c