[pve-devel] r6410 - in pve-cluster/trunk: data data/src debian
svn-commits at proxmox.com
svn-commits at proxmox.com
Thu Aug 4 08:18:09 CEST 2011
Author: dietmar
Date: 2011-08-04 08:18:09 +0200 (Thu, 04 Aug 2011)
New Revision: 6410
Modified:
pve-cluster/trunk/data/ChangeLog
pve-cluster/trunk/data/src/cfs-utils.h
pve-cluster/trunk/data/src/pmxcfs.c
pve-cluster/trunk/debian/dirs
Log:
* src/pmxcfs.c (create_symlinks): remove status dir and link
Modified: pve-cluster/trunk/data/ChangeLog
===================================================================
--- pve-cluster/trunk/data/ChangeLog 2011-08-04 06:03:20 UTC (rev 6409)
+++ pve-cluster/trunk/data/ChangeLog 2011-08-04 06:18:09 UTC (rev 6410)
@@ -1,5 +1,7 @@
2011-08-04 Proxmox Support Team <support at proxmox.com>
+ * src/pmxcfs.c (create_symlinks): remove status dir and link
+
* src/*: remove syslog_cache (not needed)
2011-08-03 Proxmox Support Team <support at proxmox.com>
Modified: pve-cluster/trunk/data/src/cfs-utils.h
===================================================================
--- pve-cluster/trunk/data/src/cfs-utils.h 2011-08-04 06:03:20 UTC (rev 6409)
+++ pve-cluster/trunk/data/src/cfs-utils.h 2011-08-04 06:18:09 UTC (rev 6410)
@@ -32,7 +32,6 @@
#define HOST_CLUSTER_CONF_FN "/etc/cluster/cluster.conf"
#define CFS_PID_FN "/var/run/pve-cluster.pid"
#define VARLIBDIR "/var/lib/pve-cluster"
-#define STATUSDIR VARLIBDIR "/status"
#define CFS_MAX(a, b) (((a) > (b)) ? (a) : (b))
#define CFS_MIN(a, b) (((a) < (b)) ? (a) : (b))
Modified: pve-cluster/trunk/data/src/pmxcfs.c
===================================================================
--- pve-cluster/trunk/data/src/pmxcfs.c 2011-08-04 06:03:20 UTC (rev 6409)
+++ pve-cluster/trunk/data/src/pmxcfs.c 2011-08-04 06:18:09 UTC (rev 6410)
@@ -580,9 +580,6 @@
g_free(lnktarget);
cfs_plug_base_insert(bplug, (cfs_plug_t*)lnk);
- lnk = cfs_plug_link_new("status", STATUSDIR);
- cfs_plug_base_insert(bplug, (cfs_plug_t*)lnk);
-
cfs_plug_func_t *fplug = cfs_plug_func_new(".version", 0440, create_dot_version_cb);
cfs_plug_base_insert(bplug, (cfs_plug_t*)fplug);
@@ -722,8 +719,6 @@
}
}
- mkdir(STATUSDIR, 0755);
-
cfs_status_init();
gboolean create = !g_file_test(DBFILENAME, G_FILE_TEST_EXISTS);
Modified: pve-cluster/trunk/debian/dirs
===================================================================
--- pve-cluster/trunk/debian/dirs 2011-08-04 06:03:20 UTC (rev 6409)
+++ pve-cluster/trunk/debian/dirs 2011-08-04 06:18:09 UTC (rev 6410)
@@ -1,2 +1,3 @@
/etc/pve
-usr/bin
+/usr/bin
+/var/lib/pve-cluster
More information about the pve-devel
mailing list