btrfs: fix calling alloc_image from DirPlugin
similar to commit 279d9de510
This calling style is pretty dangerous in general for such plugin
systems...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -309,7 +309,7 @@ sub alloc_image {
|
||||
my ($class, $storeid, $scfg, $vmid, $fmt, $name, $size) = @_;
|
||||
|
||||
if ($fmt ne 'raw' && $fmt ne 'subvol') {
|
||||
return PVE::Storage::DirPlugin::alloc_image(@_);
|
||||
return $class->SUPER::alloc_image($storeid, $scfg, $vmid, $fmt, $name, $size)
|
||||
}
|
||||
|
||||
# From Plugin.pm:
|
||||
|
||||
Reference in New Issue
Block a user