]> git.proxmox.com Git - pve-storage.git/commitdiff
bug fix: use filesysetm_path for LVM/iSCSI storage
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 19 Sep 2013 04:41:51 +0000 (06:41 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 19 Sep 2013 04:41:51 +0000 (06:41 +0200)
So that the genrice Storage::Plugin code works again (get_subdir() fails on
this type of storage).

PVE/Storage/ISCSIPlugin.pm
PVE/Storage/LVMPlugin.pm

index a445f857dbbd89735baff429c7c9f5447174aa19..0fe8d697134fb62bc9e2bb8adbf40f9f41ba27a0 100644 (file)
@@ -277,7 +277,7 @@ sub parse_volname {
     die "unable to parse iscsi volume name '$volname'\n";
 }
 
-sub path {
+sub filesystem_path {
     my ($class, $scfg, $volname) = @_;
 
     my ($vtype, $name, $vmid) = $class->parse_volname($volname);
index 845ebc563d03a3fb614e513478abac71f9cf8c1b..ff2a6ecd28f00e72272e33fcc8cd88ce160ee9ee 100644 (file)
@@ -222,7 +222,7 @@ sub parse_volname {
     die "unable to parse lvm volume name '$volname'\n";
 }
 
-sub path {
+sub filesystem_path {
     my ($class, $scfg, $volname) = @_;
 
     my ($vtype, $name, $vmid) = $class->parse_volname($volname);