check base image use count inside vdisk_free
To make it work with all storage types.
This commit is contained in:
@ -251,7 +251,7 @@ sub alloc_image {
|
||||
}
|
||||
|
||||
sub free_image {
|
||||
my ($class, $storeid, $scfg, $volname) = @_;
|
||||
my ($class, $storeid, $scfg, $volname, $isBase) = @_;
|
||||
|
||||
my ($vtype, $name, $vmid) = $class->parse_volname($volname);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user