md/raid1: tidy up new functions: process_checks and fix_sync_read_error.
authorNeilBrown <neilb@suse.de>
Wed, 11 May 2011 04:48:56 +0000 (14:48 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 11 May 2011 04:48:56 +0000 (14:48 +1000)
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>

No differences found