commit | 78d7f5f726deb562a51126603f2dc5d00990b223 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Wed May 11 14:48:56 2011 +1000 |
committer | NeilBrown <neilb@suse.de> | Wed May 11 14:48:56 2011 +1000 |
tree | eb4255cb674028b8709c4542e2a490db3264754f | |
parent | a68e58703575b9c03d610a818e0241564fc17f68 [diff] |
md/raid1: tidy up new functions: process_checks and fix_sync_read_error. These changes are mostly cosmetic: 1/ change mddev->raid_disks to conf->raid_disks because the later is technically safer, though in current practice it doesn't matter in this particular context. 2/ Rearrange two for / if loops to have an early 'continue' so the body of the 'if' doesn't need to be indented so much. Signed-off-by: NeilBrown <neilb@suse.de>