5
0
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:
Dietmar Maurer 2013-05-28 12:21:14 +02:00
parent a8e2f942bd
commit 05937a147d

View File

@ -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;