[pve-devel] [PATCH 6/9] zfs: fix insert return at alloc_immage

Wolfgang Link w.link at proxmox.com
Fri Jan 23 10:32:42 CET 2015


Signed-off-by: Wolfgang Link <w.link at proxmox.com>
---
 PVE/Storage/ZFSDirPlugin.pm |    1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/Storage/ZFSDirPlugin.pm b/PVE/Storage/ZFSDirPlugin.pm
index 260e328..1782c04 100644
--- a/PVE/Storage/ZFSDirPlugin.pm
+++ b/PVE/Storage/ZFSDirPlugin.pm
@@ -187,6 +187,7 @@ sub alloc_image {
     
     $class->zfs_create_zvol($scfg, $name, $size);
 
+    return $name;
 }
 
 sub free_image {
-- 
1.7.10.4





More information about the pve-devel mailing list