BTRFSPlugin: reuse DirPlugin update/get_volume_attribute
this allows setting notes+protected for backups on btrfs Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
committed by
Wolfgang Bumiller
parent
91d49d1d52
commit
0d4c46bf35
@ -138,9 +138,22 @@ sub status {
|
|||||||
return PVE::Storage::DirPlugin::status($class, $storeid, $scfg, $cache);
|
return PVE::Storage::DirPlugin::status($class, $storeid, $scfg, $cache);
|
||||||
}
|
}
|
||||||
|
|
||||||
# TODO: sub get_volume_attribute {}
|
sub get_volume_attribute {
|
||||||
|
my ($class, $scfg, $storeid, $volname, $attribute) = @_;
|
||||||
|
return PVE::Storage::DirPlugin::get_volume_attribute($class, $scfg, $storeid, $volname, $attribute);
|
||||||
|
}
|
||||||
|
|
||||||
# TODO: sub update_volume_attribute {}
|
sub update_volume_attribute {
|
||||||
|
my ($class, $scfg, $storeid, $volname, $attribute, $value) = @_;
|
||||||
|
return PVE::Storage::DirPlugin::update_volume_attribute(
|
||||||
|
$class,
|
||||||
|
$scfg,
|
||||||
|
$storeid,
|
||||||
|
$volname,
|
||||||
|
$attribute,
|
||||||
|
$value,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
# croak would not include the caller from within this module
|
# croak would not include the caller from within this module
|
||||||
sub __error {
|
sub __error {
|
||||||
|
|||||||
Reference in New Issue
Block a user