• NeilBrown's avatar
    md/raid10: fix transcription error in calc_sectors conversion. · b0d634d5
    NeilBrown authored
    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: NeilBrown <neilb@suse.de>       
    b0d634d5
raid10.c 96.3 KB