Commits
Kir Kolyshkin authored 66505e80c5b
create_image(): don't segfault Commit 96aebd2 was bad: get_disk_descriptor_fname() tried using di->images[0]->file without first initializing di->images so it segfaulted. The fix to this chicken and egg is to introduce get_disk_descriptor_fname_by_image() function and use it from create_image(). Signed-off-by: Kir Kolyshkin <kir@openvz.org>