From c35f6bf8f735eaf35c950d7b7789f6b64ba2c8c0 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Thu, 8 Jul 2010 05:46:50 +0000 Subject: 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 Signed-off-by: Anand V. Avati BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971 --- glusterfsd/src/glusterfsd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'glusterfsd/src/glusterfsd.c') 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); -- cgit