diff options
Diffstat (limited to 'glusterfsd/src')
| -rw-r--r-- | glusterfsd/src/glusterfsd.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index d8bc01337b7..0cf1763bdf0 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -1493,7 +1493,7 @@ glusterfs_ctx_defaults_init (glusterfs_ctx_t *ctx)          if (!ctx->logbuf_pool)                  goto out; -        pthread_mutex_init (&(ctx->lock), NULL); +        LOCK_INIT (&ctx->lock);          pthread_mutex_init (&ctx->notify_lock, NULL);          pthread_cond_init (&ctx->notify_cond, NULL);  | 
