Signed-off-by: Alwin Antreich <a.antre...@proxmox.com> --- PVE/Storage/RBDPlugin.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm index 06e0a0a..9e0e720 100644 --- a/PVE/Storage/RBDPlugin.pm +++ b/PVE/Storage/RBDPlugin.pm @@ -101,7 +101,7 @@ my $rados_mon_cmd = sub { }; # needed for volumes created using ceph jewel (or higher) -my $krdb_feature_disable = sub { +my $krbd_feature_disable = sub { my ($scfg, $storeid, $name) = @_; return 1 if !$scfg->{krbd}; @@ -459,7 +459,7 @@ sub clone_image { run_rbd_command($cmd, errmsg => "rbd clone '$basename' error"); - &$krdb_feature_disable($scfg, $storeid, $name); + &$krbd_feature_disable($scfg, $storeid, $name); return $newvol; } @@ -476,7 +476,7 @@ sub alloc_image { my $cmd = &$rbd_cmd($scfg, $storeid, 'create', '--image-format' , 2, '--size', int(($size+1023)/1024), $name); run_rbd_command($cmd, errmsg => "rbd create $name' error"); - &$krdb_feature_disable($scfg, $storeid, $name); + &$krbd_feature_disable($scfg, $storeid, $name); return $name; } -- 2.11.0 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel