[pve-devel] [PATCH v11 cloudinit 7/9] remove FIXME from next_free_nbd_dev

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Aug 19 12:51:12 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 d641a4a..5f14a90 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -6479,9 +6479,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