Mike Accetta ed45666271 md: fix bug in error handling during raid1 repair
If raid1/repair (which reads all block and fixes any differences it finds)
hits a read error, it doesn't reset the bio for writing before writing
correct data back, so the read error isn't fixed, and the device probably
gets a zero-length write which it might complain about.

Signed-off-by: Neil Brown <neilb@suse.de>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-06-16 13:16:15 -07:00
..
2005-09-17 11:49:58 -07:00
2006-01-01 22:21:50 +01:00
2007-05-09 12:30:47 -07:00
2005-04-16 15:20:36 -07:00
2007-05-09 12:30:46 -07:00
2007-05-09 12:30:47 -07:00
2007-05-09 12:30:46 -07:00
2007-05-09 12:30:47 -07:00
2007-05-09 12:30:47 -07:00
2007-05-09 12:30:48 -07:00
2007-05-09 12:30:46 -07:00
2006-10-03 08:04:14 -07:00
2007-05-09 12:30:47 -07:00
2007-05-09 12:30:46 -07:00
2006-12-08 08:29:09 -08:00
2007-05-09 12:30:47 -07:00
2007-05-09 12:30:47 -07:00
2005-04-16 15:20:36 -07:00
2007-05-09 12:30:47 -07:00
2005-04-16 15:20:36 -07:00
2005-09-17 11:49:58 -07:00
2005-09-17 11:49:58 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-06-16 13:16:15 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00