summaryrefslogtreecommitdiffstats
path: root/glusterfsd/src
diff options
context:
space:
mode:
Diffstat (limited to 'glusterfsd/src')
-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 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 <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;