summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max8952.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2015-02-12 14:09:57 +1100
committerNeilBrown <neilb@suse.de>2015-02-12 14:09:57 +1100
commit53a6ab4d3f6d6dc87ec8f14998b4b5536ee2968c (patch)
tree995504ece355dc6279170fb6cee3f8e85349b115 /drivers/regulator/max8952.c
parentdfe15ac1c6ad301b092ed295f0cfdb16cfaf5cfa (diff)
md/raid10: fix conversion from RAID0 to RAID10
A RAID0 array (like a LINEAR array) does not have a concept of 'size' being the amount of each device that is in use. Rather, as much of each device as is available is used. So the 'size' is set to 0 and ignored. RAID10 does have this concept and needs it to be set correctly. So when we convert RAID0 to RAID10 we must determine the 'size' (that being the size of the first 'strip_zone' in the RAID0), and set it correctly. Reported-and-tested-by: Xiao Ni <xni@redhat.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/regulator/max8952.c')
0 files changed, 0 insertions, 0 deletions