mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-01 23:20:06 +00:00
fix bug #688: if vm is not owner of this disk remove from config
This commit is contained in:
parent
a78ea5dfe9
commit
40b977f328
@ -4038,6 +4038,9 @@ sub try_deallocate_drive {
|
||||
if $used_paths->{$path};
|
||||
PVE::Storage::vdisk_free($storecfg, $volid);
|
||||
return 1;
|
||||
} else {
|
||||
# If vm is not owner of this disk remove from config
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user