bug fix: use filesysetm_path for LVM/iSCSI storage

So that the genrice Storage::Plugin code works again (get_subdir() fails on
this type of storage).
This commit is contained in:
Dietmar Maurer
2013-09-19 06:41:51 +02:00
parent 5620e81e92
commit 452e3ee780
2 changed files with 2 additions and 2 deletions

View 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);

View 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);