From abb075def55110f606ff43e64933afee61dea261 Mon Sep 17 00:00:00 2001 From: "Anand V. Avati" Date: Fri, 22 May 2009 02:10:32 +0000 Subject: THIS: use xlator_init() for initializing xlators Signed-off-by: Anand V. Avati --- glusterfsd/src/glusterfsd.c | 2 +- libglusterfs/src/xlator.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index 720d8a775ee..467fc40782c 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -539,7 +539,7 @@ glusterfs_graph_init (xlator_t *graph, int fuse) "validating translator failed"); return -1; } - if (graph->init (graph) != 0) + if (xlator_init (graph) != 0) return -1; graph->ready = 1; diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c index 0f76d9c7fe7..c20499de27e 100644 --- a/libglusterfs/src/xlator.c +++ b/libglusterfs/src/xlator.c @@ -728,7 +728,7 @@ xlator_init_rec (xlator_t *xl) if (!ret && !xl->ready) { ret = -1; if (xl->init) { - ret = xl->init (xl); + ret = xlator_init (xl); if (ret) { gf_log ("xlator", GF_LOG_ERROR, "Initialization of volume '%s' failed," -- cgit