diff options
Diffstat (limited to 'libglusterfs/src/xlator.c')
| -rw-r--r-- | libglusterfs/src/xlator.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c index 1e349b58c65..023cbc94030 100644 --- a/libglusterfs/src/xlator.c +++ b/libglusterfs/src/xlator.c @@ -193,6 +193,8 @@ xlator_dynload (xlator_t *xl)          GF_VALIDATE_OR_GOTO ("xlator", xl, out); +        INIT_LIST_HEAD (&xl->volume_options); +          ret = gf_asprintf (&name, "%s/%s.so", XLATORDIR, xl->type);          if (-1 == ret) {                  gf_log ("xlator", GF_LOG_ERROR, "asprintf failed"); @@ -256,8 +258,6 @@ xlator_dynload (xlator_t *xl)                          dlerror());          } -        INIT_LIST_HEAD (&xl->volume_options); -          vol_opt = GF_CALLOC (1, sizeof (volume_opt_list_t),                           gf_common_mt_volume_opt_list_t);  | 
