diff --git a/src/PVE/Storage/RBDPlugin.pm b/src/PVE/Storage/RBDPlugin.pm index f8199a9..988840f 100644 --- a/src/PVE/Storage/RBDPlugin.pm +++ b/src/PVE/Storage/RBDPlugin.pm @@ -630,9 +630,7 @@ sub create_base { eval { $class->unmap_volume($storeid, $scfg, $volname); }; warn $@ if $@; - my $running = undef; #fixme : is create_base always offline ? - - $class->volume_snapshot($scfg, $storeid, $newname, $snap, $running); + $class->volume_snapshot($scfg, $storeid, $newname, $snap); my (undef, undef, undef, $protected) = rbd_volume_info($scfg, $storeid, $newname, $snap); diff --git a/src/PVE/Storage/ZFSPlugin.pm b/src/PVE/Storage/ZFSPlugin.pm index 35eba59..cdec5ce 100644 --- a/src/PVE/Storage/ZFSPlugin.pm +++ b/src/PVE/Storage/ZFSPlugin.pm @@ -335,9 +335,7 @@ sub create_base { my $guid = $class->zfs_create_lu($scfg, $newname); $class->zfs_add_lun_mapping_entry($scfg, $newname, $guid); - my $running = undef; #fixme : is create_base always offline ? - - $class->volume_snapshot($scfg, $storeid, $newname, $snap, $running); + $class->volume_snapshot($scfg, $storeid, $newname, $snap); return $newvolname; }