summaryrefslogtreecommitdiff
path: root/source4/lib/events/events_aio.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/events/events_aio.c')
-rw-r--r--source4/lib/events/events_aio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/events/events_aio.c b/source4/lib/events/events_aio.c
index afc806a276..8cc100dede 100644
--- a/source4/lib/events/events_aio.c
+++ b/source4/lib/events/events_aio.c
@@ -393,6 +393,8 @@ static int aio_event_fd_destructor(struct fd_event *fde)
struct aio_event_context *aio_ev = talloc_get_type(ev->additional_data,
struct aio_event_context);
+ epoll_check_reopen(aio_ev);
+
aio_ev->num_fd_events--;
aio_ev->destruction_count++;