[PATCH] md: make 'repair' actually work for raid1.
authorNeilBrown <neilb@suse.de>
Thu, 25 Jan 2007 04:35:25 +0000 (15:35 +1100)
committerChris Wright <chrisw@sous-sol.org>
Mon, 5 Feb 2007 16:31:43 +0000 (08:31 -0800)
commitd53c44cb93ba219bc26fa2f7ddd98bdd4d219c9c
tree880aefd1fccba92da07f0d71bbfc667ae4c499ba
parent58d81d98ecc8ead88c64b7b1d5a2c05ba0b782f8
[PATCH] md: make 'repair' actually work for raid1.

When 'repair' finds a block that is different one the various
parts of the mirror. it is meant to write a chosen good version
to the others.  However it currently writes out the original data
to each. The memcpy to make all the data the same is missing.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/md/raid1.c