]> git.proxmox.com Git - pve-storage.git/commitdiff
cifs: use correct pluging class name
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 16 Mar 2018 12:23:47 +0000 (13:23 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 16 Mar 2018 12:23:47 +0000 (13:23 +0100)
PVE/API2/Storage/Config.pm

index 53c21077cc5ac6768d557cb8b65de6ceb7a62b65..3b38304c801fa664d62d61842f6d763a436fdc1d 100755 (executable)
@@ -189,7 +189,7 @@ __PACKAGE__->register_method ({
                }
                # create a password file in /etc/pve/priv,
                # this file is used as a cert_file at mount time.
-               my $cred_file = PVE::Storage::cifs_set_credentials($password, $storeid)
+               my $cred_file = PVE::Storage::CIFSPlugin::cifs_set_credentials($password, $storeid)
                    if $type eq 'cifs' && defined($password);
 
                eval {
@@ -285,7 +285,7 @@ __PACKAGE__->register_method ({
                    if PVE::Storage::storage_is_used($cfg, $storeid);
 
                if ($scfg->{type} eq 'cifs')  {
-                   my $cred_file = PVE::Storage::cifs_cred_file_name($storeid);
+                   my $cred_file = PVE::Storage::CIFSPlugin::cifs_cred_file_name($storeid);
                    if (-f $cred_file) {
                        unlink($cred_file) or warn "removing cifs credientials '$cred_file' failed: $!\n";
                    }