]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super1.c
Examine: fix array size calculation for RAID10.
authorNeilBrown <neilb@suse.de>
Thu, 22 Mar 2012 03:43:09 +0000 (14:43 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 22 Mar 2012 03:43:09 +0000 (14:43 +1100)
commitd4633e06dfc01723911627fcb104af2ffb6f6a95
tree7db047fd5928104a696385c45a277ca2e35dc87d
parent42d5dfd99db5ca678410f96c3913d5befba6344f
Examine: fix array size calculation for RAID10.

RAID10 arrays with an odd number of devices had the arraysize
reported wrongly by --examine due to a rounding error.

Reported-by: Chris Francy <zoredache@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
super0.c
super1.c