check base image use count inside vdisk_free
To make it work with all storage types.
This commit is contained in:
@ -302,7 +302,7 @@ sub alloc_image {
|
||||
}
|
||||
|
||||
sub free_image {
|
||||
my ($class, $storeid, $scfg, $volname) = @_;
|
||||
my ($class, $storeid, $scfg, $volname, $isBase) = @_;
|
||||
|
||||
die "can't free space in iscsi storage\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user