imsm: fix imsm_map.num_domains
authorDan Williams <dan.j.williams@intel.com>
Sun, 12 Apr 2009 07:58:27 +0000 (00:58 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 12 Apr 2009 07:58:27 +0000 (00:58 -0700)
commitff5963088d487e6b7f16fb7cb260bf9cac60bf4a
tree947d7aa2728a5df66515c35050cde722efc2f59c
parent1f45a8ad2083d6b9de6e37ae46e8ac957694d0f8
imsm: fix imsm_map.num_domains

'num_domains' is the number of parity domains.  I.e. 2 in the raid10
case (2-mirrors), while raid0 through raid5 have 1 parity domain (even
though raid0 does not have parity).

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