X-Git-Url: https://git.proxmox.com/?p=pve-storage.git;a=blobdiff_plain;f=PVE%2FStorage.pm;fp=PVE%2FStorage.pm;h=5d389bef8986d14136562436ba2c17a1eb5b6ea4;hp=f9582d0d9bc0e0f6ebe5fbb3862ecc4c6970d957;hb=dc992e7b89467fe0b3888c6b15aa1ddf053eeec1;hpb=8c20d8afa39eacf19c32cdfd7b1e94bdcd65e1f9 diff --git a/PVE/Storage.pm b/PVE/Storage.pm index f9582d0..5d389be 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -380,22 +380,6 @@ sub volume_snapshot_info { return $plugin->volume_snapshot_info($scfg, $storeid, $volname); } -sub volume_snapshot_list { - my ($cfg, $volid) = @_; - - my ($storeid, $volname) = parse_volume_id($volid, 1); - if ($storeid) { - my $scfg = storage_config($cfg, $storeid); - my $plugin = PVE::Storage::Plugin->lookup($scfg->{type}); - return $plugin->volume_snapshot_list($scfg, $storeid, $volname); - } elsif ($volid =~ m|^(/.+)$| && -e $volid) { - die "send file/device '$volid' is not possible\n"; - } else { - die "unable to parse volume ID '$volid'\n"; - } - # return an empty array if dataset does not exist. -} - sub get_image_dir { my ($cfg, $storeid, $vmid) = @_;