md/raid1: add takeover support for raid5->raid1
authorNeilBrown <neilb@suse.de>
Mon, 14 Dec 2009 01:49:51 +0000 (12:49 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 14 Dec 2009 01:51:41 +0000 (12:51 +1100)
commit709ae4879ae33628ded276ce7da8cd5acfec476b
treedb9714769f0b7d9b764eaf26ca51185519ae07bc
parent6eef4b21ffc9207b78fdd718154f5b004644b97d
md/raid1: add takeover support for raid5->raid1

A 2-device raid5 array can now be converted to raid1.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid1.c
drivers/md/raid1.h