fix bug #809: inheritance from ZFSPoolPlugin is not possible because we have to handle there subvols too.
This commit is contained in:
committed by
Dietmar Maurer
parent
37df4de083
commit
27a2764632
@ -312,6 +312,12 @@ sub volume_resize {
|
|||||||
return $new_size;
|
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 {
|
sub volume_snapshot_rollback {
|
||||||
my ($class, $scfg, $storeid, $volname, $snap) = @_;
|
my ($class, $scfg, $storeid, $volname, $snap) = @_;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user