summaryrefslogtreecommitdiff
path: root/makedist
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-09-08 12:20:36 +1000
committerNeilBrown <neilb@suse.de>2011-09-08 12:20:36 +1000
commit01619b481883926f13da2b1b88f3125359a6a08b (patch)
treec40c54f82dfbea748ba9b0d88105c0be17609537 /makedist
parent42de2ac27d632236909f88bd5309161a32379327 (diff)
Fix component size checks in validate_super0.
A 0.90 array can use at most 4TB of each device - 2TB between 2.6.39 and 3.1 due to a kernel bug. The test for this in validate_super0 is very wrong. 'size' is sectors and the number it is compared against is just confusing. So fix it all up and correct the spelling of terabytes and remove a second redundant test on 'size'. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'makedist')
0 files changed, 0 insertions, 0 deletions