[pve-devel] [PATCH pve-storage] fix #3354: support notes on ceph backups

Dylan Whyte d.whyte at proxmox.com
Fri Mar 19 14:58:15 CET 2021


use DirPlugin's get/update_volume_notes implementation (which all the
other supported file systems use)

Signed-off-by: Dylan Whyte <d.whyte at proxmox.com>
---
 PVE/Storage/CephFSPlugin.pm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/PVE/Storage/CephFSPlugin.pm b/PVE/Storage/CephFSPlugin.pm
index 8eb7c70..480dc57 100644
--- a/PVE/Storage/CephFSPlugin.pm
+++ b/PVE/Storage/CephFSPlugin.pm
@@ -226,4 +226,14 @@ sub deactivate_storage {
     }
 }
 
+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;
-- 
2.20.1






More information about the pve-devel mailing list