From 7840d9de272ef2f24c4c755a857ad8ae06703b55 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 4 May 2010 00:37:01 +0000 Subject: frame's 'op', 'type' restructured Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875 --- glusterfsd/src/fetch-spec.c | 2 +- glusterfsd/src/glusterfsd.c | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) (limited to 'glusterfsd') diff --git a/glusterfsd/src/fetch-spec.c b/glusterfsd/src/fetch-spec.c index 6bf980dccc5..239b3c90227 100644 --- a/glusterfsd/src/fetch-spec.c +++ b/glusterfsd/src/fetch-spec.c @@ -82,7 +82,7 @@ fetch_notify (xlator_t *this_xl, int event, void *data, ...) STACK_WIND (frame, fetch_cbk, this_xl->children->xlator, - this_xl->children->xlator->mops->getspec, + this_xl->children->xlator->fops->getspec, this_xl->ctx->cmd_args.volfile_id, 0); break; diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index f7140ad3b34..12d6be445c6 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -73,11 +73,6 @@ #include -extern int -gf_log_central_init (glusterfs_ctx_t *ctx, const char *remote_host, - const char *transport, uint32_t remote_port); - - /* using argp for command line parsing */ static char gf_doc[] = ""; static char argp_doc[] = "--volfile-server=SERVER [MOUNT-POINT]\n" \ @@ -1500,12 +1495,6 @@ main (int argc, char *argv[]) return -1; } - - if (cmd_args->log_server) { - gf_log_central_init (ctx, cmd_args->log_server, - "socket", cmd_args->log_server_port); - } - event_dispatch (ctx->event_pool); return 0; -- cgit