diff options
author | Anand V. Avati <avati@amp.gluster.com> | 2009-05-22 02:10:32 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-05-22 01:26:20 -0700 |
commit | abb075def55110f606ff43e64933afee61dea261 (patch) | |
tree | 7c303d78575caa6f5992bda463affc17efbc87a0 | |
parent | 6d5aff7bfd2403aa132d41c659c76abaf58f0503 (diff) |
THIS: use xlator_init() for initializing xlators
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
-rw-r--r-- | glusterfsd/src/glusterfsd.c | 2 | ||||
-rw-r--r-- | 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," |