diff options
Diffstat (limited to 'libglusterfs')
-rw-r--r-- | libglusterfs/src/event-epoll.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libglusterfs/src/event-epoll.c b/libglusterfs/src/event-epoll.c index 62085dbef10..ff191129da0 100644 --- a/libglusterfs/src/event-epoll.c +++ b/libglusterfs/src/event-epoll.c @@ -88,7 +88,9 @@ __event_slot_alloc (struct event_pool *event_pool, int fd) table = __event_newtable (event_pool, i); if (!table) return -1; - } + } else { + table = event_pool->ereg[i]; + } break; default: table = event_pool->ereg[i]; |