nexenta : nexenta_list_zvol : parse base volumes

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
Alexandre Derumier
2013-02-05 12:56:00 +01:00
committed by Dietmar Maurer
parent e7b2953b2f
commit 1a259abc18
2 changed files with 8 additions and 5 deletions

View File

@ -523,7 +523,6 @@ sub vdisk_free {
my ($vtype, $name, $vmid, undef, undef, $isBase) =
$plugin->parse_volname($volname);
if ($isBase) {
my $vollist = $plugin->list_images($storeid, $scfg);
foreach my $info (@$vollist) {
@ -542,7 +541,6 @@ sub vdisk_free {
}
}
}
my $cleanup_worker = $plugin->free_image($storeid, $scfg, $volname, $isBase);
});