summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/event-epoll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libglusterfs/src/event-epoll.c b/libglusterfs/src/event-epoll.c
index a8e9a08b93d..62085dbef10 100644
--- a/libglusterfs/src/event-epoll.c
+++ b/libglusterfs/src/event-epoll.c
@@ -335,7 +335,7 @@ event_register_epoll (struct event_pool *event_pool, int fd,
LOCK (&slot->lock);
{
- /* make epoll edge triggered and 'singleshot', which
+ /* make epoll 'singleshot', which
means we need to re-add the fd with
epoll_ctl(EPOLL_CTL_MOD) after delivery of every
single event. This assures us that while a poller
@@ -344,7 +344,7 @@ event_register_epoll (struct event_pool *event_pool, int fd,
time as well.
*/
- slot->events = EPOLLPRI | EPOLLET | EPOLLONESHOT;
+ slot->events = EPOLLPRI | EPOLLONESHOT;
slot->handler = handler;
slot->data = data;