diff options
Diffstat (limited to 'aio-posix.c')
-rw-r--r-- | aio-posix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/aio-posix.c b/aio-posix.c index f0f912258f..0467f23a63 100644 --- a/aio-posix.c +++ b/aio-posix.c @@ -261,7 +261,8 @@ bool aio_poll(AioContext *ctx, bool blocking) /* fill pollfds */ QLIST_FOREACH(node, &ctx->aio_handlers, node) { - if (!node->deleted && node->pfd.events) { + if (!node->deleted && node->pfd.events + && aio_node_check(ctx, node->is_external)) { add_pollfd(node); } } |