Gitweb: http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=e080a6249f25a3... Commit: e080a6249f25a3bc18a6c9028c9da06bf4ef14c6 Parent: 88ab6a7b1e4da3802f64addc3d6f234e5cf82760 Author: Fabio M. Di Nitto fdinitto@redhat.com AuthorDate: Thu Jul 12 13:00:27 2012 +0200 Committer: Fabio M. Di Nitto fdinitto@redhat.com CommitterDate: Thu Jul 12 13:00:27 2012 +0200
cman: fix a couple of comments
Signed-off-by: Fabio M. Di Nitto fdinitto@redhat.com --- cman/daemon/cman-preconfig.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cman/daemon/cman-preconfig.c b/cman/daemon/cman-preconfig.c index 22583fe..08b5ecf 100644 --- a/cman/daemon/cman-preconfig.c +++ b/cman/daemon/cman-preconfig.c @@ -1533,7 +1533,7 @@ static int cmanpre_reloadconfig(struct objdb_iface_ver0 *objdb, int flush, const objdb->object_destroy(cluster_parent_handle);
/* - * create cluster.cman in the new config if it doesn't exists + * create cluster.cman in the new config if it doesn't exist */ objdb->object_find_create(cluster_parent_handle_new, "cman", strlen("cman"), &find_handle); if (objdb->object_find_next(find_handle, &object_handle)) { @@ -1543,7 +1543,7 @@ static int cmanpre_reloadconfig(struct objdb_iface_ver0 *objdb, int flush, const objdb->object_find_destroy(find_handle);
/* - * readd cluster_id/two_node/nodename + * write cluster_id/two_node/nodename */ snprintf(str, sizeof(str) - 1, "%d", cluster_id); objdb->object_key_create_typed(object_handle, "cluster_id",
cluster-commits@lists.stg.fedorahosted.org