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