[pve-devel] r5543 - pve-storage/pve2

svn-commits at proxmox.com svn-commits at proxmox.com
Wed Feb 16 07:52:17 CET 2011


Author: dietmar
Date: 2011-02-16 07:52:17 +0100 (Wed, 16 Feb 2011)
New Revision: 5543

Modified:
   pve-storage/pve2/pvesm
Log:
call init_req instead of cfs_update


Modified: pve-storage/pve2/pvesm
===================================================================
--- pve-storage/pve2/pvesm	2011-02-16 06:51:55 UTC (rev 5542)
+++ pve-storage/pve2/pvesm	2011-02-16 06:52:17 UTC (rev 5543)
@@ -27,12 +27,11 @@
 die "please run as root\n" if $> != 0;
 
 PVE::INotify::inotify_init();
-PVE::Cluster::cfs_update();
 
 my $rpcenv = PVE::RPCEnvironment->init('cli');
 
+$rpcenv->init_request();
 $rpcenv->set_language($ENV{LANG});
-
 $rpcenv->set_user('root'); 
 
 __PACKAGE__->register_method ({




More information about the pve-devel mailing list