mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-10 01:18:01 +03:00
qm rescan: do not add aliases as unused disks.
This commit is contained in:
parent
a8e2f942bd
commit
05937a147d
@ -3711,6 +3711,7 @@ sub update_disksize {
|
||||
next if $usedpath->{$path};
|
||||
$changes = 1;
|
||||
add_unused_volume($conf, $volid);
|
||||
$usedpath->{$path} = 1; # avoid to add more than once (aliases)
|
||||
}
|
||||
|
||||
return $changes;
|
||||
|
Loading…
Reference in New Issue
Block a user