nfs and cifs: implement backup notes helper

reuse the one from DirPlugin by directing the call to it, but with
the actual $class. This should stay stable, as we provide an ABI and
try to always use $class->helpers.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2020-12-07 16:13:04 +01:00
parent f244e2aa7f
commit 44fdfb2af6
2 changed files with 18 additions and 0 deletions

View File

@ -284,4 +284,13 @@ sub check_connection {
return 1;
}
sub get_volume_notes {
my $class = shift;
PVE::Storage::DirPlugin::get_volume_notes($class, @_);
}
sub update_volume_notes {
my $class = shift;
PVE::Storage::DirPlugin::update_volume_notes($class, @_);
}
1;

View File

@ -171,4 +171,13 @@ sub check_connection {
return 1;
}
sub get_volume_notes {
my $class = shift;
PVE::Storage::DirPlugin::get_volume_notes($class, @_);
}
sub update_volume_notes {
my $class = shift;
PVE::Storage::DirPlugin::update_volume_notes($class, @_);
}
1;