cluster: STABLE3 - config: Remove all references to ccsd from ccs_tool
Christine Caulfield
chrissie@fedoraproject.org
Wed Aug 12 10:16:00 GMT 2009
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=922b9930e20a8894e29326ffb8f4d314207a3128
Commit: 922b9930e20a8894e29326ffb8f4d314207a3128
Parent: de503c0247d1ae7191996e8aa6f4fde3d9256a63
Author: Christine Caulfield <ccaulfie@redhat.com>
AuthorDate: Wed Aug 12 11:13:51 2009 +0100
Committer: Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Wed Aug 12 11:13:51 2009 +0100
config: Remove all references to ccsd from ccs_tool
Apparently it doesn't exist any more, even as legacy code
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
config/tools/ccs_tool/editconf.c | 47 --------------------------------------
1 files changed, 0 insertions(+), 47 deletions(-)
diff --git a/config/tools/ccs_tool/editconf.c b/config/tools/ccs_tool/editconf.c
index cd25b38..323c561 100644
--- a/config/tools/ccs_tool/editconf.c
+++ b/config/tools/ccs_tool/editconf.c
@@ -36,8 +36,6 @@ struct option_info
const char *configfile;
const char *outputfile;
int do_delete;
- int tell_ccsd;
- int force_ccsd;
};
static void config_usage(int rw)
@@ -46,9 +44,6 @@ static void config_usage(int rw)
if (rw)
{
fprintf(stderr, " -o --outputfile Name of output file (defaults to same as --configfile)\n");
- fprintf(stderr, " -C --ccs Tell CCSD about this change\n");
- fprintf(stderr, " default: run \"ccs_tool update\" if file is updated in place)\n");
- fprintf(stderr, " -F --force_ccs Force \"ccs_tool upgrade\" even if input & output files differ\n");
}
}
@@ -575,8 +570,6 @@ struct option addnode_options[] =
{ "fence_type", required_argument, NULL, 'f'},
{ "outputfile", required_argument, NULL, 'o'},
{ "configfile", required_argument, NULL, 'c'},
- { "ccs", no_argument, NULL, 'C'},
- { "force_ccs", no_argument, NULL, 'F'},
{ NULL, 0, NULL, 0 },
};
@@ -584,8 +577,6 @@ struct option delnode_options[] =
{
{ "outputfile", required_argument, NULL, 'o'},
{ "configfile", required_argument, NULL, 'c'},
- { "ccs", no_argument, NULL, 'C'},
- { "force_ccs", no_argument, NULL, 'F'},
{ NULL, 0, NULL, 0 },
};
@@ -593,8 +584,6 @@ struct option addfence_options[] =
{
{ "outputfile", required_argument, NULL, 'o'},
{ "configfile", required_argument, NULL, 'c'},
- { "ccs", no_argument, NULL, 'C'},
- { "force_ccs", no_argument, NULL, 'F'},
{ NULL, 0, NULL, 0 },
};
@@ -792,7 +781,6 @@ void add_node(int argc, char **argv)
xmlNode *root_element;
memset(&ninfo, 0, sizeof(ninfo));
- ninfo.tell_ccsd = 0;
ninfo.votes = "1";
while ( (opt = getopt_long(argc, argv, "v:n:a:f:o:c:CFh?", addnode_options, NULL)) != EOF)
@@ -825,14 +813,6 @@ void add_node(int argc, char **argv)
ninfo.outputfile = strdup(optarg);
break;
- case 'C':
- ninfo.tell_ccsd = 1;
- break;
-
- case 'F':
- ninfo.force_ccsd = 1;
- break;
-
case '?':
default:
addnode_usage(argv[0]);
@@ -868,7 +848,6 @@ void del_node(int argc, char **argv)
xmlNode *root_element;
memset(&ninfo, 0, sizeof(ninfo));
- ninfo.tell_ccsd = 0;
while ( (opt = getopt_long(argc, argv, "o:c:CFh?", delnode_options, NULL)) != EOF)
{
@@ -882,14 +861,6 @@ void del_node(int argc, char **argv)
ninfo.outputfile = strdup(optarg);
break;
- case 'C':
- ninfo.tell_ccsd = 1;
- break;
-
- case 'F':
- ninfo.force_ccsd = 1;
- break;
-
case '?':
default:
delnode_usage(argv[0]);
@@ -1100,7 +1071,6 @@ void add_fence(int argc, char **argv)
int opt;
memset(&ninfo, 0, sizeof(ninfo));
- ninfo.tell_ccsd = 0;
while ( (opt = getopt_long(argc, argv, "c:o:CFh?", list_options, NULL)) != EOF)
{
@@ -1113,14 +1083,6 @@ void add_fence(int argc, char **argv)
ninfo.outputfile = strdup(optarg);
break;
- case 'C':
- ninfo.tell_ccsd = 1;
- break;
-
- case 'F':
- ninfo.force_ccsd = 1;
- break;
-
case '?':
default:
addfence_usage(argv[0]);
@@ -1171,7 +1133,6 @@ void del_fence(int argc, char **argv)
int opt;
memset(&ninfo, 0, sizeof(ninfo));
- ninfo.tell_ccsd = 0;
while ( (opt = getopt_long(argc, argv, "c:o:CFhv?", list_options, NULL)) != EOF)
{
@@ -1184,14 +1145,6 @@ void del_fence(int argc, char **argv)
ninfo.outputfile = strdup(optarg);
break;
- case 'C':
- ninfo.tell_ccsd = 1;
- break;
-
- case 'F':
- ninfo.force_ccsd = 1;
- break;
-
case '?':
default:
delfence_usage(argv[0]);
More information about the Cluster-cvs
mailing list