summaryrefslogtreecommitdiffstats
path: root/glusterfsd/src/glusterfsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'glusterfsd/src/glusterfsd.c')
-rw-r--r--glusterfsd/src/glusterfsd.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index 5f7a4dc6f36..1f7b63e7594 100644
--- a/glusterfsd/src/glusterfsd.c
+++ b/glusterfsd/src/glusterfsd.c
@@ -2317,7 +2317,12 @@ glusterfs_process_volfp (glusterfs_ctx_t *ctx, FILE *fp)
}
}
- ret = glusterfs_graph_prepare (graph, ctx);
+ xlator_t *xl = graph->first;
+ if (strcmp (xl->type, "protocol/server") == 0) {
+ (void) copy_opts_to_child (xl, FIRST_CHILD (xl), "*auth*");
+ }
+
+ ret = glusterfs_graph_prepare (graph, ctx, ctx->cmd_args.volume_name);
if (ret) {
goto out;
}
@@ -2479,7 +2484,7 @@ main (int argc, char *argv[])
goto out;
}
- /* do this _after_ deamonize() */
+ /* do this _after_ daemonize() */
if (cmd->global_timer_wheel) {
ret = glusterfs_global_timer_wheel_init (ctx);
if (ret)