commit | efe5ae1102ad7363c577ce5ac6afb9fc0ead1256 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Thu Mar 08 07:36:04 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Thu Mar 08 07:36:04 2012 +0400 |
tree | a15cfcf0b2095bc6fd212017a753596e95d125d3 | |
parent | 6106862f300656c99dc125c88beb05c0cbfcc8e8 [diff] |
ploop: Add "diskspace is set" check to vzctl_env_convert_ploop() Here diskspace quota limit effectively becomes the size of a new ploop image, so it is required not optional. Make sure it is set to avoid e.g. null pointer dereference. Signed-off-by: Kir Kolyshkin <kir@openvz.org>