]> git.proxmox.com Git - pve-storage.git/commit
fix #3555: BTRFS: call DirPlugin's free_image correctly
authorHannes Laimer <h.laimer@proxmox.com>
Fri, 30 Jul 2021 11:04:55 +0000 (13:04 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 30 Jul 2021 12:52:51 +0000 (14:52 +0200)
commit279d9de5108f6fc6f2d31f77f1b41d6dc7a67cb9
treeb12a893b4044081493ac20060c76737bab061ada
parentb11d054be068ddf08cf2a7b12a63787fb182fcc7
fix #3555: BTRFS: call DirPlugin's free_image correctly

The method is only derived in the DirPlugin module from the base
Plugin, so we do not have it available there through a static module
method call using ::, but only when using a class dereference.

Other fix options would have been:

  PVE::Storage::Plugin::free_image(@_);

or:
  $class->SUPER::free_image($storeid, ...);

Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
[ Thomas: add some background to the commit message ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Storage/BTRFSPlugin.pm