summaryrefslogtreecommitdiffstats
path: root/glusterfsd/src/glusterfsd.c
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2010-07-08 05:46:50 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-08 05:24:57 -0700
commitc35f6bf8f735eaf35c950d7b7789f6b64ba2c8c0 (patch)
tree71591025bfcdfe44e2a8fd7b91068d30893e6267 /glusterfsd/src/glusterfsd.c
parent6779d91ea8ee8bb8f337213b0be2d31e4fd62619 (diff)
minor option handling refactorizations
- clean up ZR_* internal option defines - make argument order of glusterfs_graph_activate() aligned with other graph ops Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'glusterfsd/src/glusterfsd.c')
-rw-r--r--glusterfsd/src/glusterfsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index 32a9bc8f..d1f9ae15 100644
--- a/glusterfsd/src/glusterfsd.c
+++ b/glusterfsd/src/glusterfsd.c
@@ -204,7 +204,7 @@ create_fuse_mount (glusterfs_ctx_t *ctx)
if (!master->name)
goto err;
- if (xlator_set_type (master, ZR_XLATOR_FUSE) == -1) {
+ if (xlator_set_type (master, "mount/fuse") == -1) {
gf_log ("glusterfsd", GF_LOG_ERROR,
"MOUNT-POINT %s initialization failed",
cmd_args->mount_point);
@@ -1189,7 +1189,7 @@ glusterfs_volumes_init (glusterfs_ctx_t *ctx)
if (!ret)
ret = create_fuse_mount (ctx);
if (!ret)
- ret = glusterfs_graph_activate (ctx, graph);
+ ret = glusterfs_graph_activate (graph, ctx);
if (ret) {
glusterfs_graph_destroy (graph);