[pve-devel] [PATCH v10 qemu-server/cloudinit 7/8] remove FIXME from next_free_nbd_dev

Wolfgang Bumiller w.bumiller at proxmox.com
Tue Aug 11 15:51:54 CEST 2015


It's being removed from LXCCreate.pm so it won't be moved to
pve-common as qemu-server is then the only place using it.
---
 PVE/QemuServer.pm | 2 --
 1 file changed, 2 deletions(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 1cb6b3c..da33b04 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -6420,9 +6420,7 @@ sub scsihw_infos {
     return ($maxdev, $controller, $controller_prefix);
 }
 
-# FIXME: also in LXCCreate.pm => move to pve-common
 sub next_free_nbd_dev {
-    
     for(my $i = 0;;$i++) {
 	my $dev = "/dev/nbd$i";
 	last if ! -b $dev;
-- 
2.1.4





More information about the pve-devel mailing list