diff options
author | Neil Brown <neilb@suse.de> | 2007-01-31 00:53:52 +0100 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2007-02-03 01:56:23 +0100 |
commit | 346c9b5d4fde30eae1cbcdb4bc62f9e1d0ddfd13 (patch) | |
tree | a7379505a42ef6a3dc1a1f4b842944c0dc5edccb /net/compat.c | |
parent | f69c6c18f688ef789beff30a8de809491c7609dd (diff) |
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.
Also correct a test so that 'repair' causes a repair, rather than
anything other then 'repair'.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions