]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: fix setting of device size for raid1
authorDan Williams <dan.j.williams@intel.com>
Mon, 8 Dec 2008 18:28:54 +0000 (11:28 -0700)
committerDan Williams <dan.j.williams@intel.com>
Mon, 8 Dec 2008 23:59:17 +0000 (16:59 -0700)
commit03bcbc654f56a2bba0b82cc0bd4bbbab62425eba
tree8af19e90cf646a7a2342ded804ca3bc694cce4c9
parent959278735ebe8abf3cff95d2347ae5ed98c06811
imsm: fix setting of device size for raid1

When chunksize is 0 in the raid1 case we need to use
info_to_blocks_per_member() to calculate the array size.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
super-intel.c