[pve-devel] [PATCH pve-storage] fix #3555: BTRFSPlugin: call free_image correctly

Hannes Laimer h.laimer at proxmox.com
Fri Jul 30 13:04:55 CEST 2021


Signed-off-by: Hannes Laimer <h.laimer at proxmox.com>
---
 PVE/Storage/BTRFSPlugin.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/Storage/BTRFSPlugin.pm b/PVE/Storage/BTRFSPlugin.pm
index 4596b30..411cab9 100644
--- a/PVE/Storage/BTRFSPlugin.pm
+++ b/PVE/Storage/BTRFSPlugin.pm
@@ -410,7 +410,7 @@ sub free_image {
 	$class->parse_volname($volname);
 
     if ($format ne 'subvol' && $format ne 'raw') {
-	return PVE::Storage::DirPlugin::free_image(@_);
+	return PVE::Storage::DirPlugin->free_image($storeid, $scfg, $volname, $isBase, $_format);
     }
 
     my $path = $class->filesystem_path($scfg, $volname);
-- 
2.30.2






More information about the pve-devel mailing list