diff options
author | NeilBrown <neilb@suse.de> | 2012-10-23 08:48:00 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-10-23 08:48:00 +1100 |
commit | 63ebe78faefc47ce8612b619bb25b3438cf8378b (patch) | |
tree | da04a543f172721b198bfb2c30a623a4a9770954 /test | |
parent | 79f9f56da68cb99ee3b11a6ec7cbed23572f57cd (diff) |
super0: allow creation of array on 2TB+ devices.
As 'info->size' is signed, it cannot even hold values above
2TB.
But it isn't used much. sb->size is the important value and it
is unsigned.
So use that to check for overflow of size.
Reported-by: Eugene San <eugenesan@gmail.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions