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)
commit41a55b4de396f675485a3f3cb3e1b117316e9ce9
tree94fbff89dc6a74159cf62b1d6b66e44f241c6c3f
parentbe7a12bb1a7dc185d5143e3ae434f8a855f66a31
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