From c1e1e5fa8f25f9061b076a05045a6d4950d1a891 Mon Sep 17 00:00:00 2001 From: Fam Zheng Date: Fri, 23 Oct 2015 11:08:08 +0800 Subject: aio: introduce aio_{disable,enable}_external Signed-off-by: Fam Zheng Signed-off-by: Kevin Wolf --- aio-win32.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'aio-win32.c') diff --git a/aio-win32.c b/aio-win32.c index 3110d856e4..43c4c79a75 100644 --- a/aio-win32.c +++ b/aio-win32.c @@ -309,7 +309,8 @@ bool aio_poll(AioContext *ctx, bool blocking) /* fill fd sets */ count = 0; QLIST_FOREACH(node, &ctx->aio_handlers, node) { - if (!node->deleted && node->io_notify) { + if (!node->deleted && node->io_notify + && aio_node_check(ctx, node->is_external)) { events[count++] = event_notifier_get_handle(node->e); } } -- cgit v1.2.3