diff options
-rw-r--r-- | libglusterfs/src/iobuf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/iobuf.c b/libglusterfs/src/iobuf.c index 13c8309e670..46efab692fc 100644 --- a/libglusterfs/src/iobuf.c +++ b/libglusterfs/src/iobuf.c @@ -363,6 +363,7 @@ iobuf_pool_new(void) index = gf_iobuf_get_arena_index(page_size); if (index == -1) { + pthread_mutex_unlock(&iobuf_pool->mutex); gf_msg("iobuf", GF_LOG_ERROR, 0, LG_MSG_PAGE_SIZE_EXCEEDED, "page_size (%zu) of iobufs in arena being added is " "greater than max available", |