summaryrefslogtreecommitdiffstats
path: root/glusterfsd
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-05-04 00:37:01 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-05-03 23:40:10 -0700
commit7840d9de272ef2f24c4c755a857ad8ae06703b55 (patch)
tree6d212b7d72f00605b80503508c146b205280208c /glusterfsd
parentf75b76350747f5f58a4bbe704915c74979cc5ac3 (diff)
frame's 'op', 'type' restructured
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> 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
Diffstat (limited to 'glusterfsd')
-rw-r--r--glusterfsd/src/fetch-spec.c2
-rw-r--r--glusterfsd/src/glusterfsd.c11
2 files changed, 1 insertions, 12 deletions
diff --git a/glusterfsd/src/fetch-spec.c b/glusterfsd/src/fetch-spec.c
index 6bf980dcc..239b3c902 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 f7140ad3b..12d6be445 100644
--- a/glusterfsd/src/glusterfsd.c
+++ b/glusterfsd/src/glusterfsd.c
@@ -73,11 +73,6 @@
#include <fnmatch.h>
-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;