fix bug #809: inheritance from ZFSPoolPlugin is not possible because we have to handle there subvols too.

This commit is contained in:
Wolfgang Link
2015-11-05 14:24:07 +01:00
committed by Dietmar Maurer
parent 37df4de083
commit 27a2764632

View File

@ -312,6 +312,12 @@ sub volume_resize {
return $new_size;
}
sub volume_snapshot_delete {
my ($class, $scfg, $storeid, $volname, $snap, $running) = @_;
$class->zfs_request($scfg, undef, 'destroy', "$scfg->{pool}/$volname\@$snap");
}
sub volume_snapshot_rollback {
my ($class, $scfg, $storeid, $volname, $snap) = @_;