diff options
| -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,"  | 
