Files
linux/drivers
NeilBrown 6d82749eb6 md: fix regression with re-adding devices to arrays with no metadata
commit bf572541ab upstream.

Commit 1a855a0606 (2.6.37-rc4) fixed a problem where devices were
re-added when they shouldn't be but caused a regression in a less
common case that means sometimes devices cannot be re-added when they
should be.

In particular, when re-adding a device to an array without metadata
we should always access the device, but after the above commit we
didn't.

This patch sets the In_sync flag in that case so that the re-add
succeeds.

This patch is suitable for any -stable kernel to which 1a855a0606 was
applied.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-17 15:37:09 -08:00
..
2011-01-07 14:43:17 -08:00
2011-01-07 14:43:06 -08:00
2010-08-26 16:41:51 -07:00
2010-08-26 16:41:42 -07:00
2011-02-17 15:37:00 -08:00
2010-08-13 13:20:13 -07:00
2011-02-17 15:37:03 -08:00
2010-05-12 14:57:15 -07:00