Skip to content
Commit b0d634d5 authored by NeilBrown's avatar NeilBrown
Browse files

md/raid10: fix transcription error in calc_sectors conversion.



The old code was
		sector_div(stride, fc);
the new code was
		sector_dir(size, conf->near_copies);

'size' is right (the stride various wasn't really needed), but
'fc' means 'far_copies', and that is an important difference.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 0d9f4f13
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment