diff options
Diffstat (limited to 'xlators/features')
-rw-r--r-- | xlators/features/index/src/index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/index/src/index.c b/xlators/features/index/src/index.c index 1025c3fc308..508eb91a373 100644 --- a/xlators/features/index/src/index.c +++ b/xlators/features/index/src/index.c @@ -1070,13 +1070,13 @@ init (xlator_t *this) uuid_generate (priv->xattrop_vgfid); INIT_LIST_HEAD (&priv->callstubs); - this->private = priv; ret = pthread_create (&thread, &priv->w_attr, index_worker, this); if (ret) { gf_log (this->name, GF_LOG_WARNING, "Failed to create " "worker thread, aborting"); goto out; } + this->private = priv; ret = 0; out: if (!this->private && priv) |