From a9f0c6c4f5354d5cb7c3f89adad8390829072901 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 11 Nov 2015 10:18:44 +0100 Subject: [PATCH] lvmthin volume_resize: reuse code from parent class --- PVE/Storage/LvmThinPlugin.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/PVE/Storage/LvmThinPlugin.pm b/PVE/Storage/LvmThinPlugin.pm index 9198bac..fa17f5f 100644 --- a/PVE/Storage/LvmThinPlugin.pm +++ b/PVE/Storage/LvmThinPlugin.pm @@ -160,11 +160,7 @@ sub deactivate_volume { # do nothing } -sub volume_resize { - my ($class, $scfg, $storeid, $volname, $size, $running) = @_; - - die "volume_resize is not implemented for storage type 'lvmthin'\n"; -} +# sub volume_resize {} reuse code from parent class sub volume_has_feature { my ($class, $scfg, $feature, $storeid, $volname, $snapname, $running) = @_;