summaryrefslogtreecommitdiffstats
path: root/include/linux/raid
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-05-19 09:01:13 +1000
committerNeilBrown <neilb@suse.de>2012-05-19 09:01:13 +1000
commitb0d634d5683f0b186b242ce6a4f3b041edb8b956 (patch)
tree6443dc130dcd45c78ca2878938464c418ea89c41 /include/linux/raid
parent0d9f4f135eb6dea06bdcb7065b1e4ff78274a5e9 (diff)
downloadop-kernel-dev-b0d634d5683f0b186b242ce6a4f3b041edb8b956.zip
op-kernel-dev-b0d634d5683f0b186b242ce6a4f3b041edb8b956.tar.gz
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: NeilBrown <neilb@suse.de>
Diffstat (limited to 'include/linux/raid')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud